Re: Continuing encoding fun.... - Mailing list pgsql-odbc

From Marko Ristola
Subject Re: Continuing encoding fun....
Date
Msg-id 4320771E.4070400@kolumbus.fi
Whole thread Raw
In response to Re: Continuing encoding fun....  (Marc Herbert <Marc.Herbert@emicnetworks.com>)
List pgsql-odbc
There is one thing, that might be good for you to know:

I tried
wprintf("%s",char_text) and printf("%ls",wchar_text) methods.
They don't work with LATIN1 under Linux.

gcc does not support NON-ASCII multibyte conversions.
gcc gives that responsibility for library functions.

That is so even for GCC 4.0.

So, at least libiconv is a good way to handle the multibyte conversions
robustly under Linux. That works if and only if the libiconv library works.

libiconv is LGPL licensed.

Regards,
Marko Ristola

>However, I have no idea how this theory is far from reality, far from
>the ODBC API, and far from Windows, sorry :-( I just was woken up by
>the "unicode apps" word. I tried to follow the discussions here but
>got lost.
>
>


pgsql-odbc by date:

Previous
From: Marko Ristola
Date:
Subject: Re: Unicode support
Next
From: "Craig"
Date:
Subject: ODBC Driver on Windows 64 bit