Re: charset2upper broken

From: Alexander E. Patrakov
Date: Wed May 24 2006 - 00:30:45 EST


Steve French wrote:
Charset2upper is broken, at least for utf8 (see line 41 of nls_utf8.c) Seems straightforward to fix it for the key characters a-z (0x61-0x7a), unless the uppercasing rules are stranger than I think - especially since other places have it right e.g. nls_base.c seems to have it right in its charset2upper.

<troll>
Don't use UTF-8. Neither the kernel nor userspace is fully ready.

Also, it seems wrong to put such comples thing as a complete UNICODE upper/lower case mapping into the kernel, especially since this mapping is different for Turkish and non-Turkish cases (see http://www.i18nguy.com/unicode/turkish-i18n.html). So someone should convert all filesystems that use character conversion and case mapping to FUSE, so that they can use glibc to do all of this dirty/complex work.
</troll>

--
Alexander E. Patrakov

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/