pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Johann Zuschlag <zuschlag2@online.de>
To: pgsql-odbc@postgresql.org
Subject: Re: Usind database with encoding UNICODE and vovel
Date: Thu, 04 Aug 2005 12:30:52 +0200
Message-ID: <42F1EE5C.5060404@online.de> (raw)
In-Reply-To: <42F1AFEC.1020906@joops.com>
References: <E7F85A1B5FF8D44C8A1AF6885BC9A0E4AC973D@ratbert.vale-housing.co.uk>
	<42F1AFEC.1020906@joops.com>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hi,<br>
<br>
I used:<br>
<br>
Debian Sarge with PostgreSQL 7.4.7<br>
My application on Win XP SP2<br>
ODBC-driver: 08.01.1003<br>
<br>
More or less the same problem with LATIN1 (server) and UNICODE (client)<br>
but PgAdminIII doesn't show <b>&auml;&ouml;&uuml;&szlig;</b> later.<br>
<span class="150583209-04082005"></span><br>
Regards<br>
<br>
Johann<br>
<br>
Josef Springer schrieb:<br>
<br>
<blockquote cite="mid42F1AFEC.1020906@joops.com" type="cite"> Using no
vovels (umlaut) work fine. But using a vovel, curious effect.<br>
I have tried all server and client variations with sense with this
result. All tests are done with a string column containing <b>&auml;&ouml;&uuml;&szlig;</b><br>
  <table border="1" cellpadding="2" cellspacing="2" width="100%">
    <tbody>
      <tr>
        <td valign="top">Server database encoding<br>
        </td>
        <td valign="top">Client encoding<br>
        </td>
        <td valign="top">Result<br>
        </td>
      </tr>
      <tr>
        <td valign="top">LATIN<br>
        </td>
        <td valign="top">LATIN<br>
        </td>
        <td valign="top">Writing works. Reading gets the bytearray
63.63,0,1,0,2,47,0<br>
        </td>
      </tr>
      <tr>
        <td valign="top">LATIN<br>
        </td>
        <td valign="top">UNICODE</td>
        <td valign="top">Reading works bur witing gets an error 'Bad
code xxx for &nbsp;UNICODE'<br>
        </td>
      </tr>
      <tr>
        <td valign="top">UNICODE<br>
        </td>
        <td valign="top">UNICODE<br>
        </td>
        <td valign="top">Writing works. Reading gets the bytearray
63.63,0,1,0,2,47,0<br>
        </td>
      </tr>
      <tr>
        <td valign="top">UNICODE<br>
        </td>
        <td valign="top">LATIN<br>
        </td>
        <td valign="top">Writing works. Reading gets the bytearray
63.63,0,1,0,2,47,0<br>
        </td>
      </tr>
      <tr>
        <td valign="top">UNICODE<br>
        </td>
        <td valign="top">WIN1250<br>
        </td>
        <td valign="top">Writing works. Reading gets the bytearray
63.63,0,1,0,2,47,0</td>
      </tr>
      <tr>
        <td valign="top">SQL_ASCII<br>
        </td>
        <td valign="top">UNICODE<br>
        </td>
        <td valign="top">Writing works. Reading gets the bytearray
63.63,0,1,0,2,47,0<br>
        </td>
      </tr>
    </tbody>
  </table>
  <br>
</blockquote>
<b>In PgAdminIII the column is displayed correct in all server database
variations !</b><br>
<br>
</body>
</html>



view thread (21+ messages)  latest in thread

Message-ID: <42F1EE5C.5060404@online.de>
Permalink:  ../42F1EE5C.5060404@online.de/
Also on:    postgresql.org/message-id/42F1EE5C.5060404@online.de

 · 

reply

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: zuschlag2@online.de
  Subject: Re: Usind database with encoding UNICODE and vovel
  In-Reply-To: <42F1EE5C.5060404@online.de>
  References: <E7F85A1B5FF8D44C8A1AF6885BC9A0E4AC973D@ratbert.vale-housing.co.uk> <42F1AFEC.1020906@joops.com> <42F1EE5C.5060404@online.de>

* 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