develooper Front page | perl.perl5.porters | Postings from February 2001

Re: The State of The Unicode

Thread Previous | Thread Next
From:
andrew
Date:
February 19, 2001 19:25
Subject:
Re: The State of The Unicode
Message ID:
20010219222503.P17705@pimlott.ne.mediaone.net
On Tue, Feb 20, 2001 at 03:02:00AM +0000, Simon Cozens wrote:
> On Mon, Feb 19, 2001 at 09:53:14PM -0500, Andrew Pimlott wrote:
> > Since nobody else has yet proposed any specific interfaces,
> 
> What about the one we've got?

I'm not familiar with the complete semantics of the one we've got.
I really need them.

> I wonder if this would work:
> 
>     sub to_utf8 {
>         use bytes
>         return $_[0]
>     }

I saw Jarkko's reply, but regardless of what he said, can you
explain what you want that to do if the internal representation is
not (at the moment) UTF-8?

> Your senses are deceiving you. I don't think of UTF8 as "what just works", but
> I do think of it as "what we have decided will become Perl's internal
> representation for non-native data".

If you want to expose this, in something like the fashion you
describe above, I'm afraid you're creating too many complications
that you haven't thought through.  But I don't think I can convince
anyone unless I hear complete semantics that I can analyze.

Andrew

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About