Re: Want Input boxes to accept unicode strings on Standard Window

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Mihai N. wrote:

XML does not require big parsers, it requires Unicode support.
If your own parser recognizes UTF-16 and UTF-8, you are compliant.
Parsers are not required to understand encodings other than the two UTF forms
mentioned.

Hi Mihai:

What does this mean exactly? My own parser, which seems to work fine for my purposes (serialization), simply writes std::string to and from XML. Why does it need to understand UTF-8?

--
David Wilkinson
Visual C++ MVP
.



Relevant Pages

  • Re: Is there a lex utility for Ada that handles unicode?
    ... > Is there some equivalent of the lex utility that produces ... You can parse UTF-8 encoded text ... parser for units spelt both in pure ASCII and in full UTF-8. ... For UTF-8 handing in Ada you can take a look at: ...
    (comp.lang.ada)
  • Re: parsing xml from a stream
    ... the parser that it's ISO-8859-1, what the hell is it complaining about malformed UTF-8 characters for? ... The blank lines can't be causing it, because they'd be ASCII characters, which have the same values in ISO-8859-1 and UTF-8. ... stream), ...
    (comp.lang.java.programmer)
  • Re: parsing xml from a stream
    ... told the parser that it's ISO-8859-1, ... complaining about malformed UTF-8 characters for? ... though out-of-band settings are supposed to override in-band ...
    (comp.lang.java.programmer)
  • Re: Python HTML parser chokes on UTF-8 input
    ... Now when I take "website" directly from the parser, ... However I want to do some modifications before I parse it, namely UTF-8 ... That's not utf-8, that's unicode. ...
    (comp.lang.python)
  • Re: Want Input boxes to accept unicode strings on Standard Window
    ... I think UTF-8 is used pretty widely in the Unix/Linux world so it probably depends on where you get your data. ... "David Wilkinson" wrote in message ... My own parser, which seems to work fine for my purposes, simply writes std::string to and from XML. ...
    (microsoft.public.vc.mfc)