Re: [julia-users] Re: character encoding

2014-08-13 Thread Stefan Karpinski
Great – thanks for putting that on the record. It may well be useful to someone in the future! > On Aug 13, 2014, at 10:02 AM, Frederico Novaes > wrote: > > > >> On Tuesday, August 12, 2014 11:20:58 PM UTC-3, Keith Campbell wrote: >> This might be easier to do on the server side. >> Many DB

Re: [julia-users] Re: character encoding

2014-08-13 Thread Milan Bouchet-Valat
Le mardi 12 août 2014 à 13:57 -0400, Stefan Karpinski a écrit : > 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. Much better than implementing a custom encodin

[julia-users] Re: character encoding

2014-08-13 Thread Frederico Novaes
On Tuesday, August 12, 2014 11:20:58 PM UTC-3, Keith Campbell wrote: > > This might be easier to do on the server side. > Many DBMS, including MySQL and PostGreSQL, support encoding conversions. > > eg convert('my_string', 'UTF8', 'ISO_8859_2') > SELECT CAST(_latin1'test' AS CHAR CHARACTER S

[julia-users] Re: character encoding

2014-08-12 Thread Keith Campbell
This might be easier to do on the server side. Many DBMS, including MySQL and PostGreSQL, support encoding conversions. eg convert('my_string', 'UTF8', 'ISO_8859_2') SELECT CAST(_latin1'test' AS CHAR CHARACTER SET utf8)

Re: [julia-users] Re: character encoding

2014-08-12 Thread Stefan Karpinski
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 1

[julia-users] Re: character encoding

2014-08-12 Thread Frederico Novaes
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

[julia-users] Re: character encoding

2014-08-12 Thread Steven G. Johnson
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