Altova Mailing List Archives>Archive Index >microsoft.public.xsl Archive Home >Recent entries >Thread Prev - Non-breaking spaces with multiple charsets >Thread Next - Re: Non-breaking spaces with multiple charsets Re: Non-breaking spaces with multiple charsetsTo: NULL Date: 9/11/2006 5:48:00 AM Simon Caldwell wrote: > When we need a non-breaking space from an xsl, we've been happily using >   as usually recommended. > However, we now have a need to support different charsets, for instance > Big5, and this does not render   as expected. > > For instance, the code snippet given below will output a non-breaking > space for charset iso-8859-1. But for charset Big5 we get "?/TD>" > instead. > > So the question is - how can we code this so that it will work > regardless of charset? > Thanks to all. After a few hours more searching and experimentation, I found the following that seems to work fine regardless of charset: <xsl:text disable-output-escaping="yes">&nbsp;</xsl:text> Someone suggested that this only works for MS tools? But that's no problem, as we only support Microsoft. Any reason we shouldn't use this? Thanks again Simon | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
