Proposal: Change in behavior of ulocdata_getExemplarSet
Deborah Goldsmith <[email protected]> Wed, 29 Sep 2004 16:31:11 -0700
| Newsgroups | gmane.comp.lib.icu.general,gmane.comp.lib.icu.c++.support |
|---|---|
| Message-ID | <[email protected]> |
Please respond by October 6. Currently, if you call ulocdata_getExemplarSet and pass the ID of a locale that does not exist, or that does not have exemplar set data, you will get the exemplar set data for the default locale. For example, if you ask for the exemplar set data for locale "my", you will get "[a-z]" if your default locale is en_US. The proposal is to change the behavior so that ulocdata_getExemplarSet returns an empty set in such cases. An alternative would be to return a "resource not found" error code, but that would be a larger change in behavior. Deborah Goldsmith Internationalization, Unicode liaison Apple Computer, Inc. [email protected]