[ruby-core:63759] [ruby-trunk - Bug #9920] [Rejected] Ruby does not support Unicode 6.0 emoji, only private-use area Unicode emoji

From: naruse@...
Date: 2014-07-16 03:15:05 UTC
List: ruby-core #63759
Issue #9920 has been updated by Yui NARUSE.

Status changed from Open to Rejected

There are some SJIS variants which includes Emoji.
Therefore you must which variant will you use.

Use SJIS-DoCoMo, SJIS-KDDI, or SJIS-SoftBank instead of SJIS.

----------------------------------------
Bug #9920: Ruby does not support Unicode 6.0 emoji, only private-use area U=
nicode emoji
https://bugs.ruby-lang.org/issues/9920#change-47796

* Author: Misty De Meo
* Status: Rejected
* Priority: Low
* Assignee:=20
* Category:=20
* Target version:=20
* ruby -v: ruby 2.1.2p95 (2014-05-08 revision 45877) [x86_64-darwin13.0]
* Backport: 2.0.0: UNKNOWN, 2.1: UNKNOWN
----------------------------------------
Translating emoji characters between Unicode and encodings like Shift JIS u=
ses Unicode characters in the private-use range, instead of Unicode emoji c=
haracters.

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 ch=
aracter is =F0=9F=8E=A8 (U+1F3A8). When Ruby encodes this character from SJ=
IS 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 Un=
icode 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 corr=
ectly encoding the character to F6DB.



--=20
https://bugs.ruby-lang.org/

In This Thread

Prev Next