0
Chinese and korean characters in code
Hi ! I was wondering if it was possible to put chinese or korean characters as values when coding ? For example in JS : var sign1 = { character: "前", pronounciation: "앞 전" }; If yes, are there limits or problems related to the use of the characters ?
3 ответов
+ 2
This happens in JS? Surprising.
Maybe change the encoding to utf-16.
<meta charset="utf-16"> in the head tag might work. Idk.
0
Have you tried it?
What did happen?
0
I tried it and it looks like it works (my code wasn't working when I asked the question)
but still I wanted to know if there can be problems or anything, if anyone knows