From: Markus S. <mar...@gm...> - 2009-03-12 18:17:35
|
I propose adding the following two functions to the C++ Collator class. The first one is missing compared with the C API: virtual EComparisonResult compare( UCharIterator &sIter, UCharIterator &tIter, UErrorCode &status) const; The second one is a convenience wrapper for comparing UTF-8 strings: EComparisonResult compareUTF8( const StringPiece &source, const StringPiece &target, UErrorCode &status) const; Please let me know as soon as possible if you disagree. Best regards, markus |