X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id A918AD8CF5 for ; Tue, 13 Sep 2005 17:16:29 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 64468-03 for ; Tue, 13 Sep 2005 20:16:24 +0000 (GMT) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by svr1.postgresql.org (Postfix) with ESMTP id 0E78BD8CBD for ; Tue, 13 Sep 2005 17:16:24 -0300 (ADT) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1EFHA8-0000JD-Qr for pgsql-odbc@postgresql.org; Tue, 13 Sep 2005 22:13:52 +0200 Received: from 213.244.29.170 ([213.244.29.170]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 13 Sep 2005 22:13:52 +0200 Received: from Marc.Herbert by 213.244.29.170 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 13 Sep 2005 22:13:52 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: pgsql-odbc@postgresql.org From: Marc Herbert Subject: Re: Continuing encoding fun.... Date: Tue, 13 Sep 2005 22:11:24 +0200 Lines: 17 Message-ID: <87wtlk4tjn.fsf@mail.emicnetworks.com> References: <87acio7nh8.fsf@meije.emic.fr> <4320771E.4070400@kolumbus.fi> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 213.244.29.170 User-Agent: Gnus/5.1007 (Gnus v5.10.7) XEmacs/21.4 (Jumbo Shrimp, linux) Cancel-Lock: sha1:DhuQUaEgWx32Whv0MUuQYaSF8Iw= X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=1.087 required=5 tests=[AWL=-0.518, FORGED_RCVD_HELO=0.05, RCVD_BY_IP=0.024, RCVD_NUMERIC_HELO=1.531] X-Spam-Level: * X-Archive-Number: 200509/125 X-Sequence-Number: 6023 Marko Ristola writes: > 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. What do you mean by that? Could you post a short sample code? Since wchar_t is 32bits for glibc, wchar_text can not be LATIN1 which is 8bits long... > gcc does not support NON-ASCII multibyte conversions. Well I would find weird for a compiler to perform such conversions.