Jump to content

VSCode encoding(Korean text after using VSCode)


Recommended Posts

Posted (edited)

Hello guys,

 

Since most people still use Notepad++, it will be useful to just a few people only.

So, if you just start the VSCode and edit files, it'll f.cked your korean text. (LC_TEXT) (For me, it did)

You should go to Preferences - Settings - Search for "encoding" and change the "UTF8" to "ISO 8859-1" (And disable auto guess encoding if it's enabled)

 

spacer.png

 

Edited by Metin2 Dev International
Core X - External 2 Internal
  • Good 3
  • Love 1
Link to comment
Share on other sites

Posted (edited)

You can actually reopen/save a file with any encoding of your choice (without setting the default encoding) from the quick menu in vscode. Although I wouldn't recommend it because I still can't get it to work properly with some diacritics even after setting it correctly. 

 

What's worth mentioning also regarding those kind of files with ISO 8859-1 encoding is that when you work with git, you need to set them to binary mode like that and enforce line endings if you work on different environments. Put this in .gitattributes
 

*.txt eol=crlf
*.txt binary
Edited by b6d4a82c15
Link to comment
Share on other sites

Announcements



×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.