MIDRANGE dot COM Mailing List Archive



Home » MIDRANGE-L » October 2012

Re: Parse error ... not well formed token



fixed

Hi Jim,

In my EXPAT_H copy book, I named the constant XML_ENC_UTF8, because you can't put a dash in an RPG variable name. It's not possible to make a constant or variable named XML_ENC_UTF-8 in RPG.

But, yes, it means UTF-8 (Which is the official name).

Not sure where in the Information Center it says that "UTF8" and "UTF-8" mean something different. Can you provide me with a link?


On 10/12/2012 8:44 PM, franz400 wrote:

I am still confused by sometimes seeing "UTF-8" and in your code "UTF8"..

XML_ParserCreate(XML_ENC_UTF8);

In the infocenter (under encoding) it seemed to treat these as different
definitions. Any differences?






Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2014 by MIDRANGE dot COM and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available here. If you have questions about this, please contact