svn-scm icon indicating copy to clipboard operation
svn-scm copied to clipboard

Design the comparison code in vscode. UTF-8 is used by default on the left and any encoding can be set on the right?

Open linnjoy opened this issue 4 years ago • 2 comments

Is your feature request related to a problem? Please describe. YES, when I use code comparison, my local text encoding is GB2312, but the encoding used in the left window of the comparison is inconsistent with the right, resulting in garbled characters. image

Describe the solution you'd like&&Describe alternatives you've considered

  1. Add options to open the left window with what code to open
  2. The left and right windows are opened with the same encoding

THANKS

linnjoy avatar Jul 03 '20 07:07 linnjoy

If you could send me that snippet, that would be helpful.

JohnstonCode avatar Nov 19 '20 18:11 JohnstonCode

Sorry, I can't share files. However, you can use any repo to test this problem. 1.Use vscode to create a text coded as GB2312 2.Then input Chinese characters, submit and enter the comparison to reproduce

linnjoy avatar May 14 '21 07:05 linnjoy