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, has converters but this requires
a few steps to use).


Nitin Aurora wrote:


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.



Brian Stell

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