You'd have to implement that string encoding, unfortunately. If it's Latin-1, it would be much easier and we could probably just resurrect an old implementation that we used to have.
On Tue, Aug 12, 2014 at 1:50 PM, Frederico Novaes < frederico.nov...@gmail.com> wrote: > > > On Tuesday, August 12, 2014 2:14:00 PM UTC-3, Steven G. Johnson wrote: >> >> On Tuesday, August 12, 2014 9:47:31 AM UTC-4, Frederico Novaes wrote: >>> >>> I'm using ODBC to query a DB. As part of the returned query, I get >>> objects of type UTF8String. The problem is that characters like "ã" are >>> printed as "\u8f". How can I properly handle character encoding ? >>> >> >> Probably that means that your query is not actually returning UTF-8 >> encoded data. You need to figure out what encoding your data is actually >> using. >> > > I'm not sure yet, it may be Cp1252. If this is the case, how can I set > that this is the encoding to be used ? > > Thanks. >