Howard,
I have not done any converting of this type, but hopefully these links can help. :-)
Our development team wrote their own APIs (in C/C++) based on the specs from the
unicode.org site.
Maybe the following links may help:
http://dataconv.org/apps_mail.html
This contains some programs you can download. Just do a search this page for
Chinese and you'll see the 2 that are listed.
I also found these two links, but not sure how helpful they will be.
http://seba.ulyssis.org/thesis/howto-mail.php (some info that may or may not offer
additional insights)
http://seba.ulyssis.org/thesis/download.php (some programs that can be dowloaded to
do the conversion)
This last link might prove the most useful, but I didn't go very far with this one.
:-P
http://twiki.org/cgi-bin/view/Codev/InternationalisationUTF8
I found these doing a google search on the following text:
processing chinese emails using Perl
converting chinese emails using Perl
The general impression I got by glancing at these, is that you have to set something
within the mail program itself to ensure that the characters do not get garbled. But
I think it depends on the mail client you use.
Outlook typically handles any conversion of text automatically, since Win2K and later
already store things in UniCode format. For example, my buddy's fiance sends him
emails written in Shift-JIS Gothic (Japanese) and Outlook automatically converts these
to english for him. Since it's already stored as UniCode, MS simply determines the
correct codepage based on the machine's locale setting.
I have not tried this with Chinese. I seem to remember a buddy in Hong Kong stating
that Chinese was a slightly different animal and that Windows does not maybe do this
automatically with that language set. Not sure, so might be worth researching a
little.
Hopefully that may help get you going (assuming you haven't already come across these).
- Michael
-Original Message-
From: Bullock, Howard A. [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 23, 2003 6:16 AM
To: '[EMAIL PROTECTED]'
Subject: Generating email in different languages (Net::SMTP and
Simplified Chinese)?
I have been struggling with this for weeks and am no closer to a solution.
Any insights would be appreciated. I was trying to use a Unicode text file
written in Simplified Chinese using Notepapd.exe as part of the content of
an email generated via Net::SMTP.
1) Will Net::SMTP be able to accomplish this task?
2) Should I be using a different mail module? If so, which one?
3) What do I need to be aware of when processing Unicode characters?
4) Does anyone have an example that would be useful in this situation?
___
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
___
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs