From: | Alexander Antonakakis <motoris(at)sdf(dot)lonestar(dot)org> |
---|---|
To: | |
Cc: | "'pgsql-general(at)postgresql(dot)org'" <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: Unicode problem ??? |
Date: | 2004-04-21 15:17:54 |
Message-ID: | 408690A2.7080305@sdf.lonestar.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
I am also using postgres database with delphi. Therefor I don't use ODBC
but I use the Zeos Database components for delphi.
I had similar problems though. My database is in iso8859-7 and I needed
Greek chars to appear corectly in my application. What I did is I am
running an sql statement when my application is starting up (after my
datasource connection to the db etc) and I am setting my client's
encoding to iso8859-7. No problems since then ... Greeks show ok .. they
are stored ok and the search on the data works file.
Hope I helped a little
Alexander Antonakakis
John Sidney-Woollett wrote:
> Priem, Alexander said:
>
>>Could this be due to the fact that the database was CREATED using
>>SQL_ASCII
>>encoding? Maybe your solution only works when the database was created
>>using
>>LATIN1 or UNICODE encoding.
>
>
> Yes, I suspect
>
>
>>Maybe I'll just try recreating the database using UNICODE or LATIN1
>>encoding
>>tomorrow. UNICODE seems the best, right? Or does LATIN1 have more
>>possibilities than UNICODE?
>
>
> Unicode has a larger character set than latin-1. But if you only need to
> support latin-1 then use that... Of course, if you have to upgrade to
> support unicode later, you'll wish you had started off using latin-1!
>
> I'm no expert on this, so I hope this info is correct.
>
> John Sidney-Woollett
>
> ---------------------------(end of broadcast)---------------------------
> TIP 5: Have you checked our extensive FAQ?
>
> http://www.postgresql.org/docs/faqs/FAQ.html
>
>
From | Date | Subject | |
---|---|---|---|
Next Message | Jan Wieck | 2004-04-21 15:23:51 | Re: Replication |
Previous Message | scott.marlowe | 2004-04-21 14:58:06 | Re: upgrade postgres 7.1 to 7.4.2 |