I'm accessing text in a Microsoft Access database via DBI and DBD::ODBC that's stored in the Windows-1252 character encoding. I've proved to myself that it's coming out as Windows-1252 and not Latin 1 (ISO-88591-1) or UTF-8. I want to convert the characters to UTF-8 and then to Java Unicode Notation. For example, I want the Euro sign in Windows-1252 (\x80) to be printed to a text file as its equivalent Unicode character U+20AC transformed into the string '\u20ac'. Is there something ready-made for this purpose? I know about the Encode module, but I'm looking for the canonical solution to the last bit: converting the resultant UTF-8 into Java Unicode Notation.
I've read too much documentation and now I'm confused. I want the simplest, most elegant solution.
Thanks!
Jim
In reply to Convert Windows-1252 Characters to Java Unicode Notation by Jim
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |