Presenting UTF-8 encoded data in an e-mail with ISO encoding -
07-28-2003
, 05:27 AM
Hi,
We have a problem when trying to present data retrieved from SQL Server in
an e-mail. We don't use SQL mail - we use JMail (in ASP code) and need to
encode the message using ISO-8859-2. When ISO encoding is set in a message
header, static text written in the message are OK, but data from DB (where
they're stored in UNICODE) come without Polish characters.
Using a VB or JScript that would convert UTF-8 strings into ISO-8859-2 might
be a solution but maybe there is a "smarter" way?
Have anybody come across similar problem? I'll be grateful for any hints.
Best Regards,
Daniel Slobodzian |