C
Csaba Gabor
I'm having an issue with display of certain unicode
characters in IE6 on my Win XP Pro.
If I compose a post (on say http://answers.yahoo.com),
then I am able to copy/paste unicode characters from
Word, such as minus/plus ∓ (2213), cube root ∛ (221B),
and superscript 4â´ (2074). These will appear fine if I
then view the post in Firefox. However, in IE 6 only
the superscript 4 will show properly.
I tracked down the reason to style sheet statements
within the HTML such as:
<style type="text/css">
body{font-family:Arial,Helvetica,sans-serif;}
</style>
Now the funny thing about this is that if I have the
font in IE 6 set to Arial Unicode MS and there is no
style/font statement, then the characters render
fine in IE (I can make this setting via the menu:
\Tools\Internet Options\Fonts then selecting
Arial Unicode MS from the left side menu (web
page font), which I'm supposed to have since I
have Microsoft Office).
So evidently, what I would like is some way to
have Arial map onto Arial Unicode MS, which is
installed on my system since I have Office.
My question is: ==> what is the proper way to
accomplish this remapping for IE only, as
opposed to XP (which XP remap I detail below)? <==
(I'm thinking perhaps something like a user defined
style sheet that remaps Arial to Arial Unicode MS)
I have made a font remapping, but I don't think
it's a very nice solution as it applies, I presume,
to the entire XP system rather than just IE.
I make two changes in the registry, both are needed:
(1) Under the key
HKLM\Software\Microsoft\Windows NT\CurrentVersion\FontSubstitutes
I insert a new string value
Arial => Arial Unicode MS
(2) Under the key
HKLM\Software\Microsoft\Windows NT\CurrentVersion\Font
I change
Arial (True Type) => ARIAL.TTF
to
Arial (True Type) => ARIALUNI.TTF
Since this font remapping does not work with
only one of the above changes, I think that
what happens is that XP looks for the ARIAL
font, is not buying the
Arial (True Type) => ARIALUNI.TTF mapping,
so it goes back to the FontSubstitution and
digs up the Arial Unicode MS in that way.
Nevertheless, it does show the unicode
characters from answers.yahoo.com
To get the same type of thing to work with the
excellent unicode glyph viewer at
http://isthisthingon.org/unicode/index.phtml?page=02&subpage=2
I had to change the FontSubstitution mapping of
Helvetica => Arial
to
Helvetica => Arial Unicode MS
In light of all of this, I have to wonder what
functional/business purpose it serves for
web authors to set a particular font when
they are using higher order unicode chars.
Thanks for any tips / comments,
Csaba Gabor from Vienna
characters in IE6 on my Win XP Pro.
If I compose a post (on say http://answers.yahoo.com),
then I am able to copy/paste unicode characters from
Word, such as minus/plus ∓ (2213), cube root ∛ (221B),
and superscript 4â´ (2074). These will appear fine if I
then view the post in Firefox. However, in IE 6 only
the superscript 4 will show properly.
I tracked down the reason to style sheet statements
within the HTML such as:
<style type="text/css">
body{font-family:Arial,Helvetica,sans-serif;}
</style>
Now the funny thing about this is that if I have the
font in IE 6 set to Arial Unicode MS and there is no
style/font statement, then the characters render
fine in IE (I can make this setting via the menu:
\Tools\Internet Options\Fonts then selecting
Arial Unicode MS from the left side menu (web
page font), which I'm supposed to have since I
have Microsoft Office).
So evidently, what I would like is some way to
have Arial map onto Arial Unicode MS, which is
installed on my system since I have Office.
My question is: ==> what is the proper way to
accomplish this remapping for IE only, as
opposed to XP (which XP remap I detail below)? <==
(I'm thinking perhaps something like a user defined
style sheet that remaps Arial to Arial Unicode MS)
I have made a font remapping, but I don't think
it's a very nice solution as it applies, I presume,
to the entire XP system rather than just IE.
I make two changes in the registry, both are needed:
(1) Under the key
HKLM\Software\Microsoft\Windows NT\CurrentVersion\FontSubstitutes
I insert a new string value
Arial => Arial Unicode MS
(2) Under the key
HKLM\Software\Microsoft\Windows NT\CurrentVersion\Font
I change
Arial (True Type) => ARIAL.TTF
to
Arial (True Type) => ARIALUNI.TTF
Since this font remapping does not work with
only one of the above changes, I think that
what happens is that XP looks for the ARIAL
font, is not buying the
Arial (True Type) => ARIALUNI.TTF mapping,
so it goes back to the FontSubstitution and
digs up the Arial Unicode MS in that way.
Nevertheless, it does show the unicode
characters from answers.yahoo.com
To get the same type of thing to work with the
excellent unicode glyph viewer at
http://isthisthingon.org/unicode/index.phtml?page=02&subpage=2
I had to change the FontSubstitution mapping of
Helvetica => Arial
to
Helvetica => Arial Unicode MS
In light of all of this, I have to wonder what
functional/business purpose it serves for
web authors to set a particular font when
they are using higher order unicode chars.
Thanks for any tips / comments,
Csaba Gabor from Vienna