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 ?

25th Oct 2019, 10:15 AM
Kibele
Kibele - avatar
3 odpowiedzi
+ 2
This happens in JS? Surprising. Maybe change the encoding to utf-16. <meta charset="utf-16"> in the head tag might work. Idk.
25th Oct 2019, 10:37 AM
👑 Prometheus 🇸🇬
👑 Prometheus 🇸🇬 - avatar
0
Have you tried it? What did happen?
25th Oct 2019, 10:36 AM
HonFu
HonFu - avatar
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
25th Oct 2019, 10:56 AM
Kibele
Kibele - avatar