Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unicode above 0xFFFF used, problem to display these characters in many platforms #14

Open
stevendejong opened this issue Jan 15, 2013 · 4 comments

Comments

@stevendejong
Copy link

Thanks for the fantastic work on the entypo icon set.

I have a problem with it though, and cannot seem to get it working fully, because quite a number of icons use five-digit unicode values.

How to deal with those? As visible in my screenshot, even my programming environment (IntelliJ) considers, for instance, "\u1F464" as "\u1F46" followed by a 4.

As for programming languages affected: I am working in Flex (ActionScript) and Java at the moment, but extensive Googling told me people using many other programming languages have similar problems addressing Unicodes above 0xFFFF. I did not find any solutions, though.

Maybe there is a simple solution. If so, I would love to hear it.

Or if the solution is in fact not simple for many programming languages, maybe you could consider releasing a version that uses only unicode values below 0xFFFF?

Hoping for a reply, and thanks for your time!

entypo

@martinAnsty
Copy link

I'm having a similar issue on Android; 5 digit unicode characters aren't recognised. Tried Chrome and Firefox on Android 4.2 and neither display these characters when inserted as CSS content in a pseudo element. Characters with a 4 digit unicode value work fine.

@stevendejong
Copy link
Author

There is a workaround, which is to use the excellent website http://icomoon.io/ where you can create your own icon font based on libraries of icons, including Entypo and quite a few others. You can then choose to map the glyphs to basically any Unicode value you want. If you don't have any issues with screen readers, you can even map them to the range starting at 0x0000. Then, instead of the Entypo font, use the font you downloaded from IcoMoon. I hope this helps, while also hoping anyone involved in the development of Entypo ever reads this issue page so people can use Entypo without first having to remap the font.

@RaphaelBossek
Copy link

I've forked this repo at https://github.com/RaphaelBossek/entypo and fixed this issue: RaphaelBossek@4b6a8c5#config.yml

I've also renamed the icon names to their original.

@rhythmus
Copy link

What the heck! You mean to say many platforms m.m. programming languages support the Unicode standard’s Basic Multilingual Plane, only? There are 15 more planes in Unicode… They are all constitutively part of the international standard by which we encode semantics through glyphs.

It’s NO option to encode semantical characters on meaningless PUA codepoint slots, or likewise hacks. Platforms that dont support Unicode’s full character set, do not support Unicode. Hence, they suck, are obsolete and need to be driven into oblivion.

There are more characters between the West and the East coast than are dreamt of in your realm, Uncle Sam. Time you devs need to learn some basic typography and linguistics, too.

https://en.wikipedia.org/wiki/Unicode

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants