in reply to Re: Confusing UTF-8 bug in CGI-script
in thread Confusing UTF-8 bug in CGI-script
STDIN is used to transfer something that isn't text.
What you mean: isn't text. What else? And how then transfer the text and make perl to understand it is UTF-8 encoded?
Strange thing: i have full site running years in UTF-8, every CGI-script has this "use open ':std' => ':encoding(UTF-8)';" at beginning (pretty much the same init block as in this example above), because without it i just did not get anything to work... Now i copied it to another project, stripped down to skeleton and it does not work anymore... It is too mysterious to me.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Confusing UTF-8 bug in CGI-script
by ikegami (Patriarch) on Feb 01, 2011 at 20:50 UTC | |
by wanradt (Scribe) on Feb 01, 2011 at 21:13 UTC | |
|
Re^3: Confusing UTF-8 bug in CGI-script
by wanradt (Scribe) on Feb 01, 2011 at 20:27 UTC | |
by ikegami (Patriarch) on Feb 01, 2011 at 20:55 UTC |