perl-unicode

Re: [preannounce] Encode::Punycode

2002-05-06 06:23:50
On Mon, 06 May 2002 19:11:19 +0900, Tatsuhiko Miyagawa 
<miyagawa(_at_)edge(_dot_)co(_dot_)jp> said:

  > NAME
  >     Encode::Punycode - Encode plugin for Punycode encodings

  > SYNOPSIS
  >       use Encode::Punycode;
  >       use Encode;

  >       $utf8     = decode('Punycode', $punycode);
  >       $punycode = encode('Punycode', $utf8);

Last week I've gone through some manpages to extinguish all
appearances of $utf8 because it is heavily confusing. I'd recommend
s/utf8/perlstring/ or s/utf8/unicode/. A perlstring is not necessarily
in UTF8 and even if it is, you cannot directly access it anyway. Real,
accessible UTF8 would require a call to encode or some other means.

-- 
andreas

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