On Thu, 1 Aug 2002 06:33:07 +0300, Jarkko Hietaniemi [EMAIL PROTECTED] said:
Pre-5.8 way of Unicode (or, even worse, pre-5.6 way of Unicode) simply
is not compatible, and trying to bridge the gap is probably worse than
its worth.
I agree with Jarkko if you write new code. But for old
Andreas J. Koenig [EMAIL PROTECTED] writes:
A scalar that is going to be passed to some extension, be it
Compress::Zlib, Apache::Request or any extension that has no mention
of Unicode in the manpage:
if ($] 5.007) {
require Encode;
utf8::upgrade($self-{CONTENT}); # make sure it is
On Thu, 01 Aug 2002 09:22:52 +0100, Nick Ing-Simmons
[EMAIL PROTECTED] said:
Andreas J. Koenig [EMAIL PROTECTED] writes:
A scalar that is going to be passed to some extension, be it
Compress::Zlib, Apache::Request or any extension that has no mention
of Unicode in the manpage:
if
Excellent, thanks Andreas. I see cookbook like this as a patch for
perluniintro/perlunicode for 5.8.1.
--
$jhi++; # http://www.iki.fi/jhi/
# There is this special biologist word we use for 'stable'.
# It is 'dead'. -- Jack Cohen
On Thu, Aug 01, 2002 at 10:09:58AM +0200, Andreas J. Koenig wrote:
A wrapper-function for fetchrow_array and fetchrow_hashref when the
database contains only UTF-8:
sub fetchrow {
my($self,$sth,$what) = _; # $what is one of fetchrow_{array,hashref}
if ($] 5.007) {
On Thu, Aug 01, 2002 at 06:47:54PM +0200, Andreas J. Koenig wrote:
On Thu, 1 Aug 2002 15:50:08 +0100, Tim Bunce [EMAIL PROTECTED] said:
Umm. Of course that'll break if the driver start doing it itself.
That's why perlunicode.pod recommends wrapper functions for the time
from now till