Re: encoding

From: Aarni Ruuhimäki <aarni(at)kymi(dot)com>
To: "Joel Fradkin" <jfradkin(at)wazagua(dot)com>
Cc: <pgsql-sql(at)postgresql(dot)org>
Subject: Re: encoding
Date: 2005-05-07 16:32:35
Message-ID: 200505071932.35212.aarni@kymi.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

Hi,

In my experience , I think your best bet and an all-around good general
encoding to use is latin1, which copes with l'accent egys & graves, umlauts,
harasoos and others.

Not so sure about the M$-import stuff though. Or asp or .net. Read the Gates
Private Licence ...

You might also want (re?)configure your Pg-system with --enable-locale and set
your preferred locale and db default encoding in initdb to suit your needs,
in order to have alphabetical sortings etc. work ok.

BR,

Aarni

On Friday 06 May 2005 16:50, you wrote:
> I am not clear on what makes this work?
>
>
>
> I am going live Sunday and have thus far been using SQL_ASCHII.
>
> I still have the feeling I should be using something else, but when I used
> Unicode my conversion from MSSQL blew up on encoding error for a char that
> wasn't plain ASCHII(IE French or Spanish etc.).
>
> The conversion program ran fine when I chose SQL_ASCHII.
>
> The data is on a windows 2k MSSQL database.
>
> The conversion program is a .net app that reads from MSSQL win2k data base
> and writes to postgtres 8.0.2 on Redhat AS4.
>
> I tried to get this to work a while back and found if I set the encoding
> explicitly on the connect in the .net connector it did not give me an
> error, but I still have many asp pages and I could not get the encoding set
> using the ODBC (which is what the asp pages use).
>
> I believe I tried setting it with a sql statement, but that did not seem to
> help either.
>
> I can move forward using SQL_ASCHII, but would prefer to have encoding set
> properly, but I ma not sure what I am missing.
>
>
>
> Any ideas would be much appreciated.
>
>
>
> Joel Fradkin

--------------
This is a bugfree broadcast to you
from **Kmail**
on **Fedora Core 2** linux system
--------------

In response to

  • encoding at 2005-05-06 13:50:06 from Joel Fradkin

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Stephan Szabo 2005-05-07 16:51:18 Re: Discordance between the way select is called.
Previous Message Vortex 2005-05-07 16:12:30 Re: select within aggregate?