|
From: Markus S. <mar...@gm...> - 2010-04-28 00:08:01
|
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 |