[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: decoding non-ascii attribute values

Erik Thiele wrote:

can i - as a quick fix - just take the 2 byte values of the characters in question an recode them by hand, or do they have different encodings dependent on something, and i should use a conversion library?

You should use a conversion library.

Or you might consider using another programming language with full Unicode support. E.g. in Python Unicode objects are of different class than strings. This makes it easier to pass around textual strings with a known character set/encoding and distinguish them from raw string bufs. Java has a similar concept with Strings and Bufs.

Ciao, Michael.