Re: Global parameters with UTF-8 characters and ???s
> Is this the right solution? Or does it just point out what > the issue is?
If you can see the correct characters in the browser now then it suggests they are contained in the font that's being used, and the problem lies with the file being written in one encoding and read in another. When the encoding doesn't contain a mapping for a given byte sequence a question mark ? is used to mean "no mapping".
If you use a hex editor at every stage of the process to find out when the bytes for the character ? are x3F (meaning the ? really is a ? and its not just your viewer) then you'll know that the last stage was the culprit.
If you are using Java then it's often the case of the setting default platform encoding to UTF-8:
This ensures any operations that involve encodings (where an optional encoding agument hasn't been specified, eg getBytes()) will use UTF-8. If you don't specify this then ISO-8859-1 is used (on Windows platforms anyway, afaik).
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format