My source file include some chinese chars， and those chinese chars encoding by gbk not utf-8, when view source in stash， chinese chars not correct display，and also diff。anyone help me？ thanks。
Stash relies on heuristics to detect the codepage for source files, when viewing source. It has been tested with GB18030-encoded files, but it appears there are other encodings that are also referred to as "GBK". The easiest way for us to help you would be for you to raise a support request at support.atlassian.com. Then perhaps you can share a simple, GBK-encoded file with us so we can include it in our testing. That would at least help us get it working for viewing source.
Diffs, unfortunately, are another story. git diff internally only understands UTF-8. Any other format is viewed as binary and cannot be diffed. To diff files in other encodings, an external diff tool must be used. Stash does not do this, nor does it support it. You may want to open a new feature request on jira.atlassian.com so that it can be voted on, and to keep it on our radar.
Full support for international character sets is not a current Stash feature. It is something that has been discussed, but has taken a backseat to other features like pull requests, hooks and forks. Raising an issue and voting for it helps us gauge how important the feature is to customers, and potential customers.
Unfortunately, no, there are no configuration settings. Stash performs its heuristic detection and, if that fails, falls back on UTF-8. As I noted, international character sets are not a feature of the current system. They're best-effort detection.
If you're willing to attach a file in your encoding (you can even attach one to this Answers question), I'll take a look and see if I can at least get the detection on the source view to work. If so, I'll try to get my fixes for that included in 2.2.
Bitbucket Pipelines helps me manage and automate a number of serverless deployments to AWS Lambda and this is how I do it. I'm building Node.js Lambda functions using node-lambda ...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs
We're bringing product updates and pro tips on teamwork to ten cities around the world.Save your spot