On Mar 12, 2013, at 9:34, Chris Smith wrote:
> I reserve the right to be completely wrong here, but the � symbols are
> because the current font doesn't know how to render the given codepoints. If
> you render that CSS file in a font that does have Hebrew characters, it
> should be displayed correctly.
You're mildly completely wrong. :) I see the original issue has been resolved,
but I feel like rambling about character encodings. Feel free to completely
ignore the rest of this.
The "�", usually represented as a black diamond with a question mark, is U+FFFD
REPLACEMENT CHARACTER, and it is an actual character (not just a font glyph)
used to replace characters which for whatever reason cannot be correctly
represented.
In this case, it shows up in the browser because the original file contains
non-UTF-8 bytes and so the browser's decoder marks the errors with U+FFFDs. A
hexdump of the content:
5b 6c 61 62 65 6c 6e 61 6d 65 3d 22 f7 e5 e3 20 |[labelname="... |
e4 e1 f0 f7 22 5d 20 7b 20 77 69 64 74 68 3a 20 |...."] { width: |
shows us that there is one byte per "�" character, which hints at that the
browser is reporting non-UTF-8 bytes (as every non-ASCII character is more than
one byte in UTF-8), and converting the first three bytes to binary (11110111
11100101 11100011) shows that this is definitely not UTF-8, as UTF-8 multibyte
sequences consists of "11xxxxxx 10xxxxxx ...".
If the problem actually is lack of _font_ support, then the result is
platform-dependent, but usually either thin-bordered hollow rectangles
(traditional) or thick-bordered rounded squares containing a glyph
representative of the region of Unicode the missing character is from (the
"Last Resort" font).
http://en.wikipedia.org/wiki/Fallback_font#The_Unicode_Last_Resort_Font
--
Kevin Reid <http://switchb.org/kpreid/>
--
You received this message because you are subscribed to the Google Groups
"Project Hosting on Google Code" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-code-hosting?hl=en-US.
For more options, visit https://groups.google.com/groups/opt_out.