xsl-list
[Top] [All Lists]

Re: [xsl] entities in decimal-format/format-number

2010-04-21 02:29:58
Setting encoding in xsl:output helped.

But it stays unclear to me what encoding is my output
when xml and xsl files is in UTF8. (specified in xml declaration)

On 20 April 2010 18:44, Michael Kay <mike(_at_)saxonica(_dot_)com> wrote:
It outputs something weird, like "21031         036  026".
Probably, unsupported characters or kind of that.

The output is probably perfectly correct UTF-8, and you are looking at it
using a viewer that doesn't know how to display UTF-8.

Find yourself something that displays UTF-8, or force the output to use
numeric character entities by specifying <xsl:output encoding="iso646"/> or
similar.

Regards,

Michael Kay
http://www.saxonica.com/
http://twitter.com/michaelhkay


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: 
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>