On Mon, Apr 11, 2005 at 01:08:04PM -0700, gcomnz wrote:
: I read "followed by 0 or more combining characters" to mean that it is
: smart enough to combine the vowels in Arabic and other syllabic
: alphabets that use special conjuncts. However I'm also not exactly
: sure if that's even reasonably po
On Mon, Apr 11, 2005 at 03:53:32PM -0400, Mark Reed wrote:
(B: I think that, in general, at the level of Perl code, 1
$B!H(Bcharacter$B!I(B should be
(B: one code point, and any higher-level support for combining and splitting
(B: should be outside the core, in Unicode::Whatever.
(B
(BI t
Matt Diephouse wrote:
On Apr 12, 2005 12:20 AM, gcomnz <[EMAIL PROTECTED]> wrote:
Rod wrote:
However, I do like the idea of treating a string as an array of chars. I
remember some discussion a while back about making [] on strings do
something useful (but not the same thing as C), but I forget h
> > > However, I do like the idea of treating a string as an array of chars. I
> > > remember some discussion a while back about making [] on strings do
> > > something useful (but not the same thing as C), but I forget how
> > > it ended, and my brain is too fried to go hunt it down. But overall I
On Apr 12, 2005 12:20 AM, gcomnz <[EMAIL PROTECTED]> wrote:
> > Rod wrote:
> > However, I do like the idea of treating a string as an array of chars. I
> > remember some discussion a while back about making [] on strings do
> > something useful (but not the same thing as C), but I forget how
> > it
> Rod wrote:
> However, I do like the idea of treating a string as an array of chars. I
> remember some discussion a while back about making [] on strings do
> something useful (but not the same thing as C), but I forget how
> it ended, and my brain is too fried to go hunt it down. But overall I
>
gcomnz wrote:
Hi all,
I'm writing a bunch of examples for perl 6 pleac and it seems rather
natural to expect $string.chars to return a list of unicode chars in
list context, however I can't find anything to confirm that. (The
other alternatives being split and unpack.)
# unpack
@array = unpack("C
> > "abc".chars would return , which I'm guessing would be
> > bytesize usually.
>
> Fair enough.
>
> > "日本語".chars would return <[EMAIL PROTECTED]@語>, which can probably be
> > expressed with
> > UTF8?
>
> I think you're confusing UTF8 (which can represent ALL Unicode
> characters) and "the U
On Mon, 2005-04-11 at 15:40, gcomnz wrote:
> I have to say I'm slightly confused too for some languages,
> especiallyfor syllabic alphabets. At the same time, I'm pretty clear
> for CJK,Syllabaries, and alphabets, or at least I hope I'm clear (I
> guess I'mabout to find out), .chars just returns t
On 2005-04-11 15:40, "gcomnz" <[EMAIL PROTECTED]> wrote:
>
"日本語".chars would return <[EMAIL PROTECTED]@語>, which can probably be
expressed
with UTF8?
The string "日本語" is probably represented internally as UTF-8, but that
should have no effect on what .chars returns, which should, indeed, be <日
I have to say I'm slightly confused too for some languages, especially
for syllabic alphabets. At the same time, I'm pretty clear for CJK,
Syllabaries, and alphabets, or at least I hope I'm clear (I guess I'm
about to find out), .chars just returns the right unicode level for
whatever the string c
On Mon, 2005-04-11 at 14:12, Ingo Blechschmidt wrote:
> gcomnz wrote:
> > I'm writing a bunch of examples for perl 6 pleac and it seems rather
> > natural to expect $string.chars to return a list of unicode chars in
> > list context, however I can't find anything to confirm that. (The
> > other al
Hi,
gcomnz wrote:
> I'm writing a bunch of examples for perl 6 pleac and it seems rather
> natural to expect $string.chars to return a list of unicode chars in
> list context, however I can't find anything to confirm that. (The
> other alternatives being split and unpack.)
I like that.
If one wa
Hi all,
I'm writing a bunch of examples for perl 6 pleac and it seems rather
natural to expect $string.chars to return a list of unicode chars in
list context, however I can't find anything to confirm that. (The
other alternatives being split and unpack.)
# unpack
@array = unpack("C*", $string);
14 matches
Mail list logo