Can you easily convert between ASCII characters and their Asian full-width Unicode wide characters? Like:
0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ!"#$%&()*+,-./:;<=>?@[\]^_`{|}~
to
0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ!゛#$%&()*+、ー。/:;〈==〉?@[\]^_‘{|}~
Advertisement
Answer
Those “wide” characters are named FULLWIDTH LATIN LETTER
: http://www.unicodemap.org/range/87/Halfwidth%20and%20Fullwidth%20Forms/
They have range 0xFF00 – -0xFFEF. You can make look-up table or just add 0xFEE0 to ASCII code.