[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] Wide characters
From: |
Ludovic Courtès |
Subject: |
Re: [PATCH] Wide characters |
Date: |
Wed, 25 Feb 2009 22:18:55 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.90 (gnu/linux) |
Hi Mike!
Mike Gran <address@hidden> writes:
>>The phrase "Unicode locale" looks confusing to me. This function is
>>locale-independent, right?
>
> It is locale-independent. I've seen the phrase "Unicode Locale" used
> to mean that the uppercase and lowercase of letters are those
> found in the Unicode Character Database. They don't use any
> language's special rules. I could have written something like "the
> case transforms are the default Unicode case transforms, and do not
> use any language-specific rules."
OK, I wasn't aware of the special meaning of "locale" here.
>>Are the new names standard?
>
> They are. They are from the Unicode standard which descends from the
> codes in ECMA-48/1991. Actually a couple of the C0 control codes that
> are currently in Guile differ from those standards. (I didn't change
> them.) The Unicode and ECMA-48 have "lf" for "newline" and "ff" for
> "np".
Alright then. Thanks for educating me! ;-)
>>> - /* Dirk:FIXME:: This type of character syntax is not R5RS
>>> - * compliant. Further, it should be verified that the constant
>>> - * does only consist of octal digits. Finally, it should be
>>> - * checked whether the resulting fixnum is in the range of
>>> - * characters. */
>>> + /* FIXME:: This type of character syntax is not R5RS
>>> + * compliant. */
>>
>>I think this comment remains valid, doesn't it?
>
> In the code I sent, I did add checks for the two conditions Dirk
> mentioned.
Perfect.
Thanks,
Ludo'.