|
From: Mark D. ☕ <ma...@ma...> - 2010-04-28 01:39:23
|
Sounds good to me. Mark — Il meglio è l’inimico del bene — On Tue, Apr 27, 2010 at 17:07, Markus Scherer <mar...@gm...> wrote: > I would like to make another change in the proposed API: > > a) Rename the IDNAErrors class to IDNAInfo > > b) Add UBool IDNAInfo.hasDeviationCharacters() const; > > After processing, this will return TRUE if the Unicode form of the input > label or domain name contains one or more deviation characters<http://www.unicode.org/draft/reports/tr46/tr46.html#Deviations> > . > With nontransitional processing, such characters are copied to the > destination string. > With transitional processing, such characters are mapped (sharp s/sigma) or > removed (joiner/nonjoiner). > > In other words, hasDeviationCharacters() returns TRUE iff transitional and > nontransitional processing produce different results. > > markus > > > ------------------------------------------------------------------------------ > > _______________________________________________ > icu-design mailing list > icu...@li... > To Un/Subscribe: https://lists.sourceforge.net/lists/listinfo/icu-design > |