[prev in list] [next in list] [prev in thread] [next in thread]
List: icu
Subject: Re: Problem: u_strToUpper - & u_strToLower convertion
From: Tex Texin <tex () i18nguy ! com>
Date: 2004-04-09 19:10:44
Message-ID: 4076F534.660F6D9F () i18nguy ! com
[Download RAW message or body]
Yes, it describes what it does, however that is not a warning.
For people less experienced in i18n, it may not be clear that it is a bad thing
to do.
It would be better to say clearly- Don't use these.
tex
Markus Scherer wrote:
>
> Tex Texin wrote:
> > Perhaps the doc should provide a strong(er) warning about the use of an API
> > that is driven by
> > a constraint of single character length buffer being inadequate.
> >
> > Many programmers may read the doc and think that the buffer-size constraint is
> > an adequate justification for using the API, as opposed to properly
> > internationalizing their code.
>
> Possible. I thought that the current doc for u_toupper() was reasonably clear:
>
> * This function only returns the simple, single-code point case mapping.
> * Full case mappings may result in zero, one or more code points and depend
> * on context or language etc.
> * Full case mappings are applied by the string case mapping functions,
> * see ustring.h and the UnicodeString class.
>
> Is it not?
>
> markus
> _______________________________________________
> icu mailing list
> icu@oss.software.ibm.com
> http://oss.software.ibm.com/developerworks/oss/mailman/listinfo/icu
--
-------------------------------------------------------------
Tex Texin cell: +1 781 789 1898 mailto:Tex@XenCraft.com
Xen Master http://www.i18nGuy.com
XenCraft http://www.XenCraft.com
Making e-Business Work Around the World
-------------------------------------------------------------
_______________________________________________
icu mailing list
icu@oss.software.ibm.com
http://oss.software.ibm.com/developerworks/oss/mailman/listinfo/icu
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic