Bug #9920
closedRuby does not support Unicode 6.0 emoji, only private-use area Unicode emoji
Description
Translating emoji characters between Unicode and encodings like Shift JIS uses Unicode characters in the private-use range, instead of Unicode emoji characters.
Here's an example:
The SJIS character F6DB is an emoji representing an artist's palette. It's one of the characters that was standardized in Unicode 6.0; its official character is 🎨 (U+1F3A8). When Ruby encodes this character from SJIS into UTF-8, however, it instead uses U+E502; this is a character in the private use area that was used by SoftBank's non-standard emoji prior to Unicode 6.
Ruby also does not correctly support the reverse operation; when I attempt to encode U+1F3A8 into Shift-JIS, Ruby raises an exception rather than correctly encoding the character to F6DB.