perl-unicode

Re: Problem with printing chinese characters

2001-06-15 09:16:12
I assume that when you say 'printing' you mean 'file I/O'
and that you are trying to generate an email in a standard
Chinese email character encoding instead of UTF-8.

What character encoding are you trying to generate?
iso-2022-cn / iso-2022-cn-ext?

Can someone tell them the easiest way to convert from
UTF-8 to another encoding on file output?

(I know that my perl wrappers for ICU, PICU 
http://picu.sourceforge.net/, has converters but this requires
a few steps to use).

Brian

Nitin Aurora wrote:

Hi,

I got your reference from an email/website where you had explained
someone about using UTF8 in perl.
I am facing a difficulty implementing the following. It would be
really great if you could help me out.

Problem description
I want to send out an email from a perl program. The email contents
will be in traditional Chinese characters.
We have converted chinese text into Unicode.
We have assigned the unicode text to variables in perl program. This
variables we are printing into the mail body.
When we print it prints unicode characters.

How do we solve this problem ?

Your help will be really appreciated.

Regards,

Nitin

-- 
Brian Stell
mailto:bstell(_at_)ix(_dot_)netcom(_dot_)com

<Prev in Thread] Current Thread [Next in Thread>