From: George R. <gr...@us...> - 2004-10-09 03:17:50
|
Can you make this API work like the BreakIterator? RuleBasedBreakIterator(UDataMemory* image, UErrorCode &status); Also why is length needed? Shouldn't the binary image already have the length within the structure? George Rhoten IBM Globalization Center of Competency/ICU San José, CA, USA ICU main website: http://oss.software.ibm.com/icu/index.html Vladimir Weinstein <we...@jt...> Sent by: icu...@ww... 10/08/2004 04:43 PM To icu list <ic...@ww...> cc Subject ICU4C API Addition Proposal: ucol_openFromBinary Expires: 10/15/2004 I am proposing to add the following API: UCollator *ucol_openBinary(const uint8_t *bin, int32_t length, const UCollator *base, UErrorCode *pErrorCode); This API would initialize a collator from a collator image bin. If length is less than zero, the API will preflight. base is the collator that is used for fallback if a value is not found in the collator. It is usually UCA, but can be any other collator. If this value is NULL, no fallback will occur. Status returnes error codes, if any. Thank you! Regards, v. -- Vladimir Weinstein, IBM GCoC-Unicode/ICU San Jose, CA we...@jt... _______________________________________________ icu mailing list ic...@os... http://oss.software.ibm.com/developerworks/oss/mailman/listinfo/icu |