perl5 interface and UTF-8 character encoding

From: Richi Plana <richip(at)mozcom(dot)com>
To: pgsql-interfaces(at)postgresql(dot)org
Subject: perl5 interface and UTF-8 character encoding
Date: 2001-03-03 01:41:06
Message-ID: 3AA04BB2.5050602@mozcom.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

Hi,

I have a plaintext file which contains a list of words encoded in UTF-8.
I plan to use the perl5 interface to read in the list of words and store
them in PostgreSQL. What should I watch out for when I'm writing my
script. I'm afraid that perl will read each component/byte of a
multi-byte character separately and store them as a UTF-8 encoded
multi-byte character.

Code snippets appreciated.

Yours truly,
Richi Plana

Browse pgsql-interfaces by date

  From Date Subject
Next Message D'Arcy J.M. Cain 2001-03-03 16:10:58 Merging PyGreSQL development into PostgreSQL
Previous Message Jesus Ruiz 2001-03-02 16:44:22 Problem compiling PERL