Yebba, Nick skribis 2009-09-17 13:14 (-0400):
$sth10=$dbh_pweb->prepare($sql10);
It looks like some part of the code is missing; I can't see where
$dbh_pweb is created.
Encode::from_to(
$headingsubject, "utf-8","ISO-2022-KR");
If it finds wide characters in the $headingsubject, apparently the
database has already decoded it. All you have to do then, is encode it.
from_to combines decoding and encoding in a single function.
$headingsubject = Encode::encode("ISO-2022-KR", $headingsubject);
--
Met vriendelijke groet, Kind regards, Korajn salutojn,
Juerd Waalboer: Perl hacker <#####(_at_)juerd(_dot_)nl>
<http://juerd.nl/sig>
Convolution: ICT solutions and consultancy
<sales(_at_)convolution(_dot_)nl>