- From: David Carlisle <davidc@nag.co.uk>
- Date: Fri, 02 Jul 2010 16:13:41 +0100
- To: saf sied <saf_itpro@yahoo.com>
- Cc: www-math@w3.org
On 02/07/2010 04:31, saf sied wrote: > When trying to display a webpage generated from MS Word in Firefox, it > does not display some special characters generated by MS Word if the > webpage is saved as an .xht file. For example, MS Word converts the > single quote, double quotes and three dots (…) into some special > characters when you save the word document as a webpage. Firefox does > not recognize these characters. From the filesystem the default encoding of xml files is likely to be UTF8 (from a web server you can specify the encoding in the http headers) The quotes have been written out in the non standard microsoft-specific cp1252 encoding, so you probably need to either fix the quotes to be written in a standard encoding, or specify the encoding in the xml document changing <?xml version="1.0"?> to <?xml version="1.0" encoding="cp1252"?> Note however that an XML parser is not forced to recognise non standard encodings. David ________________________________________________________________________ The Numerical Algorithms Group Ltd is a company registered in England and Wales with company number 1249803. The registered office is: Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom. This e-mail has been scanned for all viruses by Star. The service is powered by MessageLabs. ________________________________________________________________________
Received on Friday, 2 July 2010 15:14:21 UTC