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
> f
> 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 extensions start providing their own convenient methods.
The wrapp
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) {
>
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, 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
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 sur
> 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
> Only this combination got 'split' in myFunction to chop up utf-8
> text properly. Is this behavior expected?
Without seeing more detail, yes. Raw embedded UTF-8 has to
be marked as UTF-8 somehow, and "use utf8" is the primary way.
> Another issue I've encountered was with using Unicode::Stri
Greetings,
I've finally installed 5.8.0 and started putting it to
good use but hit two surprises. Hopefully I've just
overlooked something in the perlunicode and perluniintro
man pages and these aren't actual bugs.
I expected that I could work simply with
-
# myScript.pl
us