From: Richi Plana <richip@mozcom.com>
To: pgsql-interfaces@postgresql.org
Subject: perl5 interface and UTF-8 character encoding
Date: Fri, 02 Mar 2001 18:41:06 -0700
Message-ID: <3AA04BB2.5050602@mozcom.com> (raw)
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-interfaces@postgresql.org
Cc: richip@mozcom.com
Subject: Re: perl5 interface and UTF-8 character encoding
In-Reply-To: <3AA04BB2.5050602@mozcom.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox