perl-unicode

Re: DBI and UTF-8

2003-12-07 01:30:05
On Sat, 6 Dec 2003 23:47:51 +0800
Autrijus Tang <autrijus(_at_)autrijus(_dot_)org> wrote:

Hence, you'd need to explicitly convert bytestrings returned by
DBI into ustrings, using either utf8::decode, or Encode::decode_utf8.

It's inconvenient, but it's the way it is. :-/

Maybe a way to globally force UTF8 (or some other encoding) to be used
on b=>u promotion is a good idea, but AFAIK it does not yet exist.

Can it be implemented as pragma? If it can be, it'd be very
convinient.

--
Tatsuhiko Miyagawa
miyagawa(_at_)bulknews(_dot_)net

<Prev in Thread] Current Thread [Next in Thread>