[swift-users] Unicode problem

Jens Alfke jens at mooseyard.com
Sun May 8 14:13:01 CDT 2016


> On May 8, 2016, at 5:27 AM, Nabeel Imtiaz via swift-users <swift-users at swift.org> wrote:
> 
> I am having problem with emojis’ rendering. Emojis like \u{F3A4} and \u{F3B5} print question mark instead. They begin with number “F”.

Those are not the correct Unicode values. There should be a “1” in front — for example, U+1F3A4 is “🎤”, the microphone emoji. Plain U+F3A4 is part of a private use area, i.e. isn’t a real character.

I’m not sure where you’re getting the emoji codes with the missing “1”. That seems to be the source of the problem.

—Jens


More information about the swift-users mailing list