Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VOF9d-0002wZ-Gl for pgsql-jdbc@arkaria.postgresql.org; Mon, 23 Sep 2013 23:02:57 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1VOF9c-0006wA-8m for pgsql-jdbc@arkaria.postgresql.org; Mon, 23 Sep 2013 23:02:56 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VOF9b-0006w3-8B for pgsql-jdbc@postgresql.org; Mon, 23 Sep 2013 23:02:55 +0000 Received: from hogranch.com ([75.101.82.47]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VOF9Y-0001YO-3W for pgsql-jdbc@postgresql.org; Mon, 23 Sep 2013 23:02:54 +0000 Received: from [192.168.0.2] (porker [192.168.0.2]) by hogranch.com (8.11.6/8.11.6) with ESMTP id r8NN2hl31709 for ; Mon, 23 Sep 2013 16:02:43 -0700 Message-ID: <5240C88F.4020006@hogranch.com> Date: Mon, 23 Sep 2013 16:02:39 -0700 From: John R Pierce User-Agent: Mozilla/5.0 (Windows NT 6.2; WOW64; rv:17.0) Gecko/20130801 Thunderbird/17.0.8 MIME-Version: 1.0 To: pgsql-jdbc@postgresql.org Subject: Re: Re: Reading =?UTF-8?B?wqMgY2hhcmFjdGVyIGZyb20gREIgaXMg?= =?UTF-8?B?ZGlzcGxheWluZyDFkyBjaGFyYWN0ZXI=?= References: <1379825582068-5771897.post@n5.nabble.com> <0C723FEB5B4E5642B25B451BA57E27303EE04617@S1P5DAG3C.EXCHPROD.USA.NET> <1379961198670-5772060.post@n5.nabble.com> <52409393.6070105@hogranch.com> <1379968337903-5772093.post@n5.nabble.com> <1379969936749-5772099.post@n5.nabble.com> In-Reply-To: <1379969936749-5772099.post@n5.nabble.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-HawgScanner-Information: Please contact the ISP for more information X-HawgScanner: Found to be clean X-Pg-Spam-Score: -4.2 (----) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-jdbc Precedence: bulk Sender: pgsql-jdbc-owner@postgresql.org On 9/23/2013 1:58 PM, saisantoshi wrote: > Here is the exact error when trying to set to UT8 and updating £ character. > > ERROR: invalid byte sequence for encoding "UTF8": 0x9c WIn1252 is a Windows-specific variant of LATIN-1, an 8 bit character set. 0x9C is in fact the oe munged character in Win1252, and is an invalid character encoding in UTF8. the UK pound symbol is 0xA3 in Win1252, and in UTF8, a UK pound sign is: C2 A3, which is U+00A3 in UTF16/UCS2. Win1252 code table: http://en.wikipedia.org/wiki/Windows-1252#Code_page_layout partial UTF8 char table: http://www.utf8-chartable.de/ ahhhh. 0x9C is the pound symbol in CP437, the MSDOS CGA/EGA/VGA text-mode font. -- john r pierce 37N 122W somewhere on the middle of the left coast -- Sent via pgsql-jdbc mailing list (pgsql-jdbc@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-jdbc