Hangman83032
Hangman83032

Reputation: 85

VS Code can't read unicode language written in other editors

I'm trying to use VS Code but I'm having a problem opening code written with other editors, VS Code can't read korean language unicode? utf-8? what we call other languages in code?

I wrote the code with vim editor with some comment written in korean, and any other editors can read korean languagee but VS Code like following.

ret.insert(ret.end(), bottom.begin(), bottom.end()); // written in vim
// 는 다음과 같음


ret.insert(ret.end(), bottom.begin(), bottom.end()); // opened in VS Code
// �� ������ ����

How can I fix this problem?

Upvotes: 2

Views: 9276

Answers (1)

leesei
leesei

Reputation: 6070

Make sure your VSCode is opening the file with UTF8 encoding.

Change the encoding of a file in Visual Studio Code

Upvotes: 2

Related Questions