Conversion from iso-8859-15 (Latin9) to UTF-8?
问题 I need to convert some strings formated with Latin9 charset to UTF-8. I cannot use iconv as it is not included in my embedded system. Do you know if there is some available code for it? 回答1: Code points 1 to 127 are the same in both Latin-9 (ISO-8859-15) and UTF-8. Code point 164 in Latin-9 is U+20AC, \xe2\x82\xac = 226 130 172 in UTF-8. Code point 166 in Latin-9 is U+0160, \xc5\xa0 = 197 160 in UTF-8. Code point 168 in Latin-9 is U+0161, \xc5\xa1 = 197 161 in UTF-8. Code point 180 in Latin-9