Hi, I done the same thing in my code. The result, the charecter ś is showing correctly in edit box of IE. But when it is part of HTML, it is corrupted.
I think OS is doing the formatting of charecters in the Edit Box. But when it is a part of HTML, borwser is doing the formatting. Any clue how to fix it Thanks Blesson paul --- Sven Neuhaus <[EMAIL PROTECTED]> wrote: > Blesson Paul wrote: > > > I have an issue with Polish character ś. > This > > > charecter is corrupted when it is outputed > through > > > HTML::Template->output(). > > > > > > Only this charecter is causing the issue. Rest > of them > > > are fine. Is there any solution to solve this > > ś is an "s-acute", right? "Å" to be exact. > > It works here using this test script in a > utf8-xterm: > > perl -MHTML::Entities -MHTML::Template -e > '$a=decode_entities("ś"); > $c=q{<TMPL_VAR NAME="t">}; > $b=HTML::Template->new(scalarref=>\$c); > $b->param("t"=>$a); binmode(STDOUT, ":utf8"); print > $b->output;' > > When I pipe the output of this script into "od -t > x1" I get the correct > output "c5 9b". > > Does it only happen when run inside > -Sven > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 > express and take > control of your XML. No limits. Just data. Click to > get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Html-template-users mailing list > Html-template-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/html-template-users > ____________________________________________________________________________________ Luggage? GPS? Comic books? Check out fitting gifts for grads at Yahoo! Search http://search.yahoo.com/search?fr=oni_on_mail&p=graduation+gifts&cs=bz ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Html-template-users mailing list Html-template-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/html-template-users