perl-unicode
|
RE: binmode() and use open2002-11-29 04:30:03Hi again, use open OUT => ':utf8'; use open ':std'; But my output seems to be in iso-8859-1. Sorry for sloppiness. I did some more test and this problem only occurs if: a) You say "use CGI;" b) Your string has only < 256 chars use utf8; use open OUT => ":utf8"; use open ":std"; use CGI; print "mañana\n"; #this has \x{241} You get output in latin 1. Comment out "use CGI; " and you get output in utf-8. Does this belong in a different list? Best, Gregor Chrupala
|
|