perl5 interface and UTF-8 character encoding - Mailing list pgsql-interfaces

From Richi Plana
Subject perl5 interface and UTF-8 character encoding
Date
Msg-id 3AA04BB2.5050602@mozcom.com
Whole thread Raw
List 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



pgsql-interfaces by date:

Previous
From: "Jesus Ruiz"
Date:
Subject: Problem compiling PERL
Next
From: darcy@druid.net (D'Arcy J.M. Cain)
Date:
Subject: Merging PyGreSQL development into PostgreSQL