Handling emoji
Philippe Verdy via Unicode
unicode at unicode.org
Sat Jul 14 05:06:29 CDT 2018
Hello Mark,
In your document (https://docs.google.com/document/d/
1pC7N32TnmDr2xzFW4HscA1DyAPPZnwILUH2_03UL6Jo/preview), The last code
segment has bugs:
*ULocale danishLocale = ULocale.forLanguageTag("da");Collator
danishAndEmoji = new RuleBasedCollator( ((RuleBasedCollator)
Collator.getInstance(locale1)).getRules() + ((RuleBasedCollator)
Collator.getInstance(locale2)).getRules());*where locale1 and locale2 are
undefined. I suppose they are danishLocale, defined here, and emojiLocale
defined previously as:
*ULocale emojiLocale = ULocale.forLanguageTag("und-u-co-emoji");*But I'm
not sure of their order (which one of the two defined (named) locales is
locale1 or locale2.
Philippe.
2018-07-13 20:33 GMT+02:00 Mark Davis ☕️ via Unicode <unicode at unicode.org>:
> Put together a doc about this; suggestions for improvement are welcome.
>
> https://docs.google.com/document/d/1pC7N32TnmDr2xzFW4HscA1DyAPPZn
> wILUH2_03UL6Jo/preview
>
> Mark
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://unicode.org/pipermail/unicode/attachments/20180714/d2100f12/attachment.html>
More information about the Unicode
mailing list