character encoding - How to convert cyrillic charachters to ASCII codes with javascript -


I need to change all the extremes from 0 to 255 with ASCII code from the CRP 1251 table. The only way I found so far is the charcott () function that only works up to 128 codes. For the upper code this is a unicode number issue which is not good for me Thank you in the advice :)

< P> The first 128 characters in CP1251 are similar to letters in ASCII. After that, they represent non-ASCII, Cyrillic characters, which can not be converted into ASCII.

Consider using Unicode, which was invented to solve this type of problem.

Comments

Popular posts from this blog

mysql - BLOB/TEXT column 'value' used in key specification without a key length -

c# - Using Vici cool Storage with monodroid -

python - referencing a variable in another function? -