Maybe not a bug, but i can see UTF-8 icons correctly. I'm feeling totally n00b, but i can't know why.

FF, IE see a square or a question mark, like seeing character with a wrong charset.
Theme: Garland default
Server: linux

Comments

psicomante’s picture

Anyway it seems only an our problem :(
Cool icons, anyway, Great Work.

gábor hojtsy’s picture

Hm, you need a font with these chars in place. (We can always include these as images in the package, but that would degrabe a bit, as you would not be able to resize the icons with the text). So what operating system are you using on the client?

psicomante’s picture

Windows. Linux is ok :(. I think images would be the last choice. I'm looking for information about utf8 entities, but you entities used here are unfoundable :D

keith.smith’s picture

Psicomante: The text-based icons work fine for me on a Windows Vista box. What version of Windows are you running?

psicomante’s picture

I'm running Windows XP, all other Windows XP users (which check the pages) see question marks with FF2.0 or IE6/7 (the known square), while all *nix users are ok.

psicomante’s picture

Our user with WinXP/FF2.0 see icons correctly XD. Font problem? But what font?

keith.smith’s picture

If you go to this page http://www.danshort.com/HTMLentities/index.php?w=dingb (on a computer that is NOT displaying correctly), do you see the glyphs?

psicomante’s picture

I saw that page. My WinXP installation doesn't see them correctly (except the airplane and '(numbers)', wonderful :P). Other OS, like linux, see them correctly.

I think, like Gabor says, it's a font problem. My fonts installed are default one, though i run WinXP-SP2.

PS: check our l10n_server site at: http://l10n.drupalitalia.org/

psicomante’s picture

nevermind, a lot of users see correctly these icons, i'm lookin for a solution in the meanwhile.

keith.smith’s picture

I'm guessing but I figure you will need a TrueType or OpenType version of a "dingbat" font, specifically something with Unicode dingbats, as outlined here: http://en.wikipedia.org/wiki/Dingbat#Unicode_dingbats.

psicomante’s picture

Component: Code » Documentation
Category: bug » support
Status: Active » Fixed

Thanks a lot keith!! I checked Webdings and Windings fonts but all of them are ok. I found this page (http://www.fileformat.info/info/unicode/block/dingbats/utf8test.htm), that list a list of fonts that support unicode codes.

Installed Arial Unicode MS.ttf, and now works well. Thanks

keith.smith’s picture

Title: UTF-8 Icons - Impossible to view them correctly » Document potential font requirement in README.txt
Status: Fixed » Needs review
StatusFileSize
new1.11 KB

That's a very handy link to know.

I'm going to bookmark that page since I plan on ripping off Gábor's very cool 'icon' idea at the earliest opportunity. :)

Since we're here already, how about adding a section to README.txt to preserve this for posterity.

psicomante’s picture

great, +1.

gábor hojtsy’s picture

Status: Needs review » Fixed

Thanks for the patch! This is really positive information :) I was too much afraid from using UTF icons originally, but it seems my fears are now resolved :)
I have committed this patch and a major update to the README, to reflect the current set of modules and requirements. Thanks!

keith.smith’s picture

Status: Fixed » Reviewed & tested by the community
StatusFileSize
new983 bytes

The new text in README.txt looks pretty good!

gábor hojtsy’s picture

Status: Reviewed & tested by the community » Needs review

Well, I hope I learn some style from your fine improvements with each bit :)

BTW should't 'A "Organic groups"' be 'An "Organic groups"'?

keith.smith’s picture

StatusFileSize
new999 bytes

LOL! Your style is fine. Your spelling, eh..., not so much. :)

I'm kidding. Please don't think I'm following you around on d.o correcting your grammar -- I'm actually doing it because I'm trying to improve my PHP skills and your code is pretty readable.

Yes, on the "A/An" thing. Now that I look at it, I'm sure the "Az" was supposed to be "An", rather than "A". New patch attached. I also changed an "Additionally to" to "in addition to".

gábor hojtsy’s picture

Status: Needs review » Fixed

Well, thanks :) I am perfectly fine if you follow me and fix my grammar :) That certainly makes the code better and hopefully also improved my grammar to some degree :) Committed this one, thanks.

gábor hojtsy’s picture

Status: Fixed » Closed (fixed)