Re: Thai data import into PostgreSQL

Started by Tatsuo Ishiiover 24 years ago2 messages
#1Tatsuo Ishii
t-ishii@sra.co.jp

Sorry, but I'm not familiar with TH8TISASCII encoding at all. Is there
any documentation for it on the web?
--
Tatsuo Ishii

Show quoted text

Dear Sir,

I have obtained your email address through the PostgreSQL documentation. I
understood you are the specialist of the localisation on PostgreSQL, and was
hoping you could help me on a specific problem I am working at the moment,
or maybe redirect me to someone who could help me.

We have developed a software solution based on Microsoft Windows and Oracle
database. One of our new external module though (Point of sale) is using the
Linux environment (Red Hat 7.1 distribution) and PostgreSQL 7.1 database.
One of our customer is based in Bangkok and is using Oracle database in the
Thai character set. The Oracle character set used by our customer is
TH8TISASCII (NLS_NCHAR_CHARACTERSET & NLS_CHARACTERSET). They are using a
Thai version of Windows, and it stores and retrieve the data correctly. We
still have some trouble exporting the Thai characters, but my question for
you is more related to how I should setup the PostgreSQL database for the
import. I noticed that there is no locale for Thai defined in the
documentation. What do you think would be the best way to set up PostgreSQL
? SQL_ASCII ? UNICODE ? Something else ?

I thank you in advance for your time.

Best Regards,
Alex Crettol

#2Tatsuo Ishii
t-ishii@sra.co.jp
In reply to: Tatsuo Ishii (#1)
RE: Thai data import into PostgreSQL

From: Alex Crettol <AlexC@BassSoftware.com>
Subject: RE: Thai data import into PostgreSQL
Date: Mon, 23 Jul 2001 16:39:20 +1000
Message-ID: <415719E2420CD4118EEF00001C1902FE339760@bassex.melb.basssoftware.com>

Tatsuo,

Thank you for your reply.

I unfortunately do not have much detail on the encoding used.
The details that Oracle provide are TH8TISASCII = Thai Industrial Standard
620-2533-ASCII 8-bit (Single-byte encoding, Strict Superset of ASCII, EURO
symbol supported). I had a look on the web, but could not find anything more
detailed.
Do you know if there is any encoding existing for PostgreSQL which could
match this ?

I'm not sure what "Strict Superset of ASCII" actually means, but it
seems you could use SQL_ASCII or LATINn (where n = 1~5) encoding,
since they are also "Strict Superset of ASCII".
Or even you don't need to enable the multibyte at all, I guess.
--
Tatsuo Ishii