At Mozilla.org:
const icons = 'Hữu'; const index = 1; console.log(icons.codePointAt(index)); console.log(String.fromCodePoint(icons.codePointAt(index))); //expected output: //> 7919 //> "ữ" This is as I expect.
I run this in windows powershell, and the "ữ" (and similar characters) are converted to a "?", and then the codepoint is also changed as a result. I tried with String.raw as well, and it doesn't seem to changing things.
>63 >? help??