From: Marko Ristola <Marko.Ristola@kolumbus.fi>
Cc: pgsql-odbc@postgresql.org
Subject: Re: Continuing encoding fun....
Date: Thu, 08 Sep 2005 20:38:38 +0300
Message-ID: <4320771E.4070400@kolumbus.fi> (raw)
In-Reply-To: <87acio7nh8.fsf@meije.emic.fr>
References: <E7F85A1B5FF8D44C8A1AF6885BC9A0E4AC9E4A@ratbert.vale-housing.co.uk>
<87acio7nh8.fsf@meije.emic.fr>
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.
>
>
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-odbc@postgresql.org
Cc: Marko.Ristola@kolumbus.fi
Subject: Re: Continuing encoding fun....
In-Reply-To: <4320771E.4070400@kolumbus.fi>
References: <E7F85A1B5FF8D44C8A1AF6885BC9A0E4AC9E4A@ratbert.vale-housing.co.uk> <87acio7nh8.fsf@meije.emic.fr> <4320771E.4070400@kolumbus.fi>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox