From: naruse@... Date: 2014-12-12T17:47:05+00:00 Subject: [ruby-core:66813] [ruby-trunk - Bug #10593] [Rejected] Emoji is been considered as comment Issue #10593 has been updated by Yui NARUSE. Status changed from Open to Rejected ---------------------------------------- Bug #10593: Emoji is been considered as comment https://bugs.ruby-lang.org/issues/10593#change-50384 * Author: Juanito Fatas * Status: Rejected * Priority: Low * Assignee: * Category: * Target version: current: 2.2.0 * ruby -v: ruby 2.2.0preview1 (2014-09-17 trunk 47616) [x86_64-darwin13] * Backport: 2.0.0: UNKNOWN, 2.1: UNKNOWN ---------------------------------------- Unicode ![](https://dl.dropboxusercontent.com/u/4708852/bugs-ruby-lang/hash-emoji.png) is been considered as comment. | Unicode | Bytes | |---------------|------------------| | U+0023 U+20E3 | \x23\xE2\x83\xA3 | ```ruby class Hash alias #������ to_hash end ``` when you require or load this file, will result in: `syntax error, unexpected end-of-input`. current workaround: ```ruby class Hash alias :"#������" to_hash end ``` Background: https://github.com/sferik/active_emoji/pull/8 Thanks in advance <3. -- https://bugs.ruby-lang.org/