Amended API proposal for locale keyword handling support
Vladimir Weinstein <[email protected]> Tue, 11 Nov 2003 20:29:32 -0800
| Newsgroups | gmane.comp.lib.icu.general |
|---|---|
| Message-ID | <[email protected]> |
Expiration: 11/18/2003
After API review, the following changes were made:
uloc_getKeywords to uloc_openKeywords
Locale::getKeywords to Locale::createKeywords
We feel that these names better fit our coding guidelines.
Another pair of APIs is now proposed:
int32_t
uloc_getBaseName(const char* localeID,
char* name,
int32_t nameCapacity,
UErrorCode* status);
which returns the locale name with keywords removed.
Analogous API (C++):
const char *
Locale::getBasename(UErrorCode &status);
Thank you!
Regards,
v.
--
Vladimir Weinstein, IBM GCoC-Unicode/ICU San Jose, CA [email protected]