|
From: Markus S. <mar...@gm...> - 2012-10-15 20:33:18
|
Dear ICU team & users, I would like to propose the following API for: *ICU 51* Please provide feedback by: next *Tuesday, 2012-10-23* Designated API reviewer: *Andy* Ticket: http://bugs.icu-project.org/trac/ticket/9664 Many ICU API functions take a string length of -1 to mean that the input string is NUL-terminated. In the implementation, it would be convenient if we could use that directly in the U8_NEXT(), U8_GET(), U16_NEXT() and U16_GET() "safe" macros. I propose that we change these 4 macros accordingly, rather than introducing new macros. I propose that we implement the 2 just-proposed new macros U8_NEXT_OR_FFFD() and U8_GET_OR_FFFD() in the same way. (Ticket #9662<http://bugs.icu-project.org/trac/ticket/9662> ) Sincerely, markus -- Google Internationalization Engineering |