Front page | perl.perl6.internals |
Postings from October 2001
RE: Transcoding patch
Thread Previous
|
Thread Next
From:
Tom Hughes
Date:
October 9, 2001 14:29
Subject:
RE: Transcoding patch
Message ID:
aaabefc64a.tom@compton.compton.nu
In message <5.1.0.14.2.20011009103404.02dfaf90@pop.sidhe.org>
Dan Sugalski <dan@sidhe.org> wrote:
> utf8 and utf16 are both variable length encodings for space reasons.
> There's not much reason to space-compact something then expand the heck out
> of it. On the other hand, I'd really, *really* rather not have Unicode
> constants in anything other than UTF-32, so I'd as soon we chopped out the
> utf-8 and utf-16 constant support from this.
>
> A should be the prefix for US-ASCII characters.
> U should be the prefix for Unicode characters
> N should be the prefix for the native character set (and the default)
>
> Beyond that I'm not sure what, if anything, we should accommodate in the
> assembler.
Attached is a patch to drop the U8, U16 and U32 prefixes and
add U and N prefixes.
I havn't added the A prefix because I'm still not clear what
encoding those are supposed to map to. I can understand the
following mappings:
N => enc_native
U => enc_utf32
but what is A supposed to map to exactly? or is the assembler
supposed to mangle an A string into an N or U string and then
put it in the bytecode in one of those formats?
Tom
--
Tom Hughes (tom@compton.nu)
http://www.compton.nu/
Thread Previous
|
Thread Next