perl-unicode

Re: C<use utf8> dynamic scope?

1999-06-02 09:57:22
According to Andreas J. Koenig:
On Tue, 1 Jun 1999 20:49:29 -0400, Chip Salzenberg 
<chip(_at_)perlsupport(_dot_)com> said:
Just because the inventors of UTF-8 use it only for Unicode doesn't
mean that we are also so constrained.

Sure. But for now we really want to use utf8 for Unicode and nothing
else.

Well, that depends on the definition of "we".  :-)

So what does use locale buy those who would be willing to use UCS-2
but not use UTF-8?

Nothing.  Separate issue.

So there we are. For those who want to have Unicode support but whose
character sets are discriminated by UTF8, an alternative might make
sense.

Well, UTF-8 being Perl's chosen internal representation does not in
any way limit users' choices for external representations.  It's been
proposed, for example, that the compiler should automatically
recognize both big- and little-endian UCS-2 Perl programs and
translate them automatically to UTF-8 before they are compiled.
-- 
Chip Salzenberg      - a.k.a. -      <chip(_at_)perlsupport(_dot_)com>
      "When do you work?"   "Whenever I'm not busy."

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