RE: [xsl] Unicode usage

Subject: RE: [xsl] Unicode usage
From: "Julian Reschke" <julian.reschke@xxxxxx>
Date: Thu, 24 Jan 2002 22:00:44 +0100
> From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of Thomas B.
> Passin
> Sent: Thursday, January 24, 2002 9:34 PM
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject: Re: [xsl] Unicode usage
>
>
> [<Betty.Risher@xxxxxxxxxxxx>]
> >
> > I am having a problem calling out certain unicodes. I am
> currently testing
> our
> > set of defined codes and most of them are showing.  I am having issues
> mainly
> > with mathmatical symbols and arrows. They are currently displaying as
> empty
> > boxes where the character representation should be.  I have set
> my output
> line
> > as:  <xsl:output method="html" indent="yes" encoding="utf-8"/>
> > I also tried:  <xsl:output method="html" indent="yes"
> encoding="utf-16"/>
> >
> >
> > I am currently using IE5.5 and have check the settings to verify the
> ENCODING
> > settings accept UTF-8.
> >
>
> "Accept" settings aren't the same as display settings.  Normally,
> Microsoft
> products (i.e., Windows) display using a Microsoft character set,
> the famous
> codepage 1252 (I think that's the one).  So you may well have the correct
> unicode character, but it will be displayed according to the codepage.  If
> the codepage doesn't have characters for them, it will show empty boxes.

I think this is a misunderstanding. If the encoding is properly declared,
but the characters are displayed as empty boxes, this is likely cause by the
fact that the font which is used for display just doesn't have character
glyphs at these positions.

> It's possible that your processor will be able to output the Microsoft
> encoding (I forget the usual encoding string for this, but you should be
> able to find it, something like: encoding='cp-1252').  Or you
> could try for
> iso-8859-1 and see if you get usable displayed characters.
>
> There's no use in changing the codepage on your own computer to
> try to solve
> this, because other people who might see your pages won't have
> changed their
> settings, and some of them may be using codepages for different alphabets
> anyway.
>
> Maybe someone else knows a solution for this problem of displaying
> high-order characters...

I don't think this is a general problem at all. Just refer to the
appropriate Unicode character code, and then it's up to the browser to find
a way to display th character.


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread