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  <##...@juerd.nl>  <http://juerd.nl/sig>
  Convolution:     ICT solutions and consultancy <sa...@convolution.nl>

Reply via email to