Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: accented characters in Safari on Mac Os X

From: David Carlisle <davidc@---.--.-->
To: NULL
Date: 6/1/2005 3:06:00 PM
> For some obscure reason the document doesn't work at all with Firefox 

Note that mozilla/firefox is much stricter about mime types and http
headers than IE. I notice that you have given your stylesheet a .xslt
extension, what mime type is it hat servered with from your server?
It will need to be an XML one otherwise mozilla will not use it as a
stylesheet.
Also notice that although youhave a dtd reference mozilla/firefox never
loads an external dtd so if that dtd is needed to define entities or
attribute defaults, these will not work in mozilla.

In either case (mozilla or iE) the encodings specified by the server in
the http headers  overrule the encodings specified in <?xml ...

So your php code is writing
<?xml version="1.0" encoding="iso-8859-1"?>';
and sending the header header("Content-type: text/xml"); I don't really
know php, if that's the only header that is sent then you should be OK
as the default encoding for text/xml is iso-8859-1 so as long as your
characters really are in that encoding it should just work...

  Yet when I open the XML page in the browser (Safari on Mac Os X) the 
  accented vowels turn into strange symbols.

If these symbols include accented capital A's that's usually a sign that
the file is in utf8 but is being read as latin1, try manually puting the
browser in utf8 encoding (view/encoding menu in IE)

David


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent