Charset conversion from UTF-8 to windows-1252
843798Dec 18 2006 — edited Dec 21 2006Getting this conversion to run has taken me 5 hours so far with no usable result!
I have Strings in UTF-8 format that needs to be posted over a socket encoded in charset windows-1252.
Requirements:
- I do not want to write the Strings to a file before i read them back into a string
- I want to create a simple method that inputs a UTF-8 string and returns a windows-1252 encoded string.
The only reason for doing this is that the Norwegian characters ��� does not display correctly on the target system in UTF-8.