Re: [Bugme-new] [Bug 8310] New: USB device names are not sanitized for UTF-8

Ken Moffat <[email protected]>
Newsgroups gmane.linux.usb.devel
Message-ID <20070609000035.GA27950@deepthought>
On Fri, Jun 08, 2007 at 08:15:44AM +0200, Robert Marquardt wrote:
> Alan Stern schrieb:
> 
> > "full handling of Unicode"?  You must be kidding.  Do you have any idea 
> > how difficult it is to do something as simple as converting between 
> > lower- and uppercase?
> 
> If it is required somewhere in the kernel then it has to be implemented.
> Yes, i know how hard it is. 100K of tables and 255K of source for a 
> Pascal implementation i know. That includes a regular expression parser, 
> but still it is a big chunk of source.

 Ignoring, for the moment, the question of why the *kernel* should
ever need to be able to in_general convert from lower- to uppercase,
the problem is harder than you imply.  Most of us think 'i' should
become 'I' but I'm fairly sure that turkish speakers think it should
be 'İ' (with a dot - 'I' for them is the uppercase version of 'ı'
without a dot).

Ken
-- 
das eine Mal als Tragödie, das andere Mal als Farce

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.