At 8:32 PM -0700 7/30/03, Will Leshner wrote:
Sorry for the formatted email in the last message. I think that
happened when I copy/pasted the code. Anyway, things seem to work
much better when I'm using UTF16. So, for example, this works fine:
s = "Ç?Ç?ÇÒǾ"
s = ConvertEncodings(s, Encodings.UTF16)
s = ConvertEncoding(s, GetInternetTextEncoding("ISO-2022-JP"))
s = ConvertEncodings(s, Encodings.UTF16)
And it doesn't take forever to do the conversion either. I should
probably file a bug report because this does seem wrong.
Well, you can file a bug, but the conversions are provided by the OS.
It's possible (and apparently the case) that it supports conversion
of ISO-2022-JP to/from UTF-16 better than UTF-8. That's very weird,
though. What OS is this?
Best,
- Joe
--
,------------------------------------------------------------------.
| Joseph J. Strout REAL Software, Inc. |
| joe at realsoftware dot com http://www.realsoftware.com |
`------------------------------------------------------------------'
---
A searchable archive of this list is available at:
<http://support.realsoftware.com/listarchives/search.php>
Unsubscribe or switch delivery mode:
<http://support.realsoftware.com/listmanager/>
.
|