-
Suggestion
-
Resolution: Fixed
-
None
If the files are encoded with non-UTF8 character encoding, the diff view will have invalid character due to git diff using UTF8 encoding.
Need to convert non-UTF8 files to UTF8 before generating the diff view.
*NOTE: This fix was enabled as an opt-in feature. A repository admin must enable "Transcode diff" for non-UT8 files to work. See this comment for details.*
- is duplicated by
-
BSERV-3626 encoding problem when view commit files
-
- Closed
-
- is related to
-
BSERV-8501 Bitbucket has trouble viewing files with UTF-16
-
- Closed
-
- mentioned in
-
Page No Confluence page found with the given URL.
-
Page No Confluence page found with the given URL.
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
It still is not fixed perfectly. The diff view of non-UTF8 (Shift-JIS) file garbled, while the source view of it displays correctly. I tested with the latest Stash 3.1.1Attached please find the Shift JIS file, captured diff view, and captured source viewCorrection. The diff view does not garble when I enabled 'transcode diffs' on the repository settings page, as bturner said on the above.