On Wed, 23 Jul 2003, Ricardo SIGNES wrote: > Is there a good way to determine whether to not to return Unicode > strings? That's what I'm doing now, but obviously it's not so nice at > the console. I don't do much serious work with Unicode in Perl, and > there might be an obvious solution I don't know about.
For the Unicode stuff, look at what's done in the DateTime::Locale modules. Really you just write everything as bytes and stick "use utf8" at the top of the module. In our case, we only load the utf8 pragma with Perl 5.6.0+ -dave /*======================= House Absolute Consulting www.houseabsolute.com =======================*/
