Talk:Unicode and HTML: Difference between revisions

Content deleted Content added
"IE5 was the first to use glyphs from 'best available' fonts"
Line 56:
Mjb, I don't know what Microsoft calls it, but it doesn't pick the right fonts to display all the characters on the page, the way other modern browsers do.
 
You'll notice that in many places in Wikipedia editors have added code like <code>style="font-family:Arial Unicode MS, Lucida Sans Unicode, sans-serif;"</code> to tables displaying Unicode characters. We have had to develop [[:Template:IPA]] ([[Template talk:IPA |documentation]]) and [[:Template:Polytonic]] to display [[International Phonetic Alphabet |IPA]] and [[Polytonic Greek]] characters in MSIE. These are all hacks, aimed only at MSIE on Windows. On a stock Mac or Windows system the necessary fonts are present, and Safari and Firefox display all these characters. But MSIE displays little squares, unless web authors guess which fonts the system might have and specify them in each and every instance where these Unicode characters appear. ''&mdash;[[User:Mzajac |Michael]]&nbsp;[[User talk:Mzajac |Z.]]&nbsp;<small>2005-01-31&nbsp;07:22&nbsp;Z</small>''
 
Example: Some IPA and obscure Cyrillic characters. Both lines look the same in a stock Mac OS X or Windows XP system in Firefox or Safari. In Explorer, the top line shows squares; the second line works, because Template:IPA explicitly tells it to use Lucida Unicode MS font.
 
un-formatted: <br>
&#1131; &#1123; &#643; &#658;
 
in template:IPA: <br>
{{IPA |&#1131; &#1123; &#643; &#658;}}
 
''&mdash;[[User:Mzajac |Michael]]&nbsp;[[User talk:Mzajac |Z.]]&nbsp;<small>2005-01-31&nbsp;07:22&nbsp;Z</small>''