in reply to Re^6: Getting mad with CGI::Application and utf8
in thread Getting mad with CGI::Application and utf8
But other parts of the code have to deal with text strings (for example because they query unicode properties).
What should I do? I only need to know that once, at write/debug time.
My current approach is to try to get some data with high codepoints (outside latin-1 range) out of the foreign module, and check with Devel::Peek or utf8::is_utf8 if that stupid flag is that.
Is there a better, more reliable approach? And is that really an abuse?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^8: Getting mad with CGI::Application and utf8
by Juerd (Abbot) on Feb 27, 2008 at 11:09 UTC | |
by moritz (Cardinal) on Feb 27, 2008 at 11:19 UTC | |
by Juerd (Abbot) on Feb 27, 2008 at 13:26 UTC |