mapbox / mapbox-gl-style-spec

76 stars 38 forks source link

Interpret encoded characters in text-field property #449

Closed samanpwbb closed 8 years ago

samanpwbb commented 8 years ago

Right now, typing a code for a character will not render the character, but instead will render the code:

The actual character: screen shot 2016-05-04 at 3 39 15 pm

Unicode: screen shot 2016-05-04 at 3 39 37 pm

Hex: screen shot 2016-05-04 at 3 39 48 pm

This matters quite a bit for users who want to use icon fonts. Currently there is a workaround: use some other decoder, copy the character, and pase it in. This has a few downsides though: Character looks like a empty box most of the time, and it's pretty inconvenient.

samanpwbb commented 8 years ago

I see both pros and cons to this. Fine closing, will solve the problem somewhere else.