perl5 interface and UTF-8 character encoding
perl5 interface and UTF-8 character encoding
От:
Richi Plana <richip@mozcom.com>
Дата:
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