I was doing a simple program in JS to get a list of keyCodes for all french phoneme symbols in the International Phonetic Alphabet, and I realised that key like ɔ̃
are actually considered as ɔ
and ~
.
My code:
var s = "iuyaɑãoɔɔ̃eεɛ̃øœœ̃əfvszʃʒlrpbmtdnkgɲjwɲ"
for (let i = 0; i < s.length; i++) {
console.log(s.charCodeAt(i))
}
console.log(s.length)
The excpected output is a list of keycodes for each of the characters in the String. So is there any charset that has tilde accents in it?