Hello,
Probably any of you have encountered this issue before and have a fast solution.
I'm parsing an xml file using irrXML and i would like to know how to parse xml elements like " or ó to their correct UTF8 characters.
Thanks.
irrXML parsing
I guess this is the place, in CXMLReaderImpl.h
I miss there more special characters:
á é í ó ú ü ç Ç
Does anyone know a table where i migh look up all the codes?
Thanks.
Code: Select all
//! generates a list with xml special characters
void createSpecialCharacterList()
{
// list of strings containing special symbols,
// the first character is the special character,
// the following is the symbol string without trailing &.
SpecialCharacters.push_back("&");
SpecialCharacters.push_back("<lt;");
SpecialCharacters.push_back(">gt;");
SpecialCharacters.push_back("\"quot;");
SpecialCharacters.push_back("'apos;");
}
á é í ó ú ü ç Ç
Does anyone know a table where i migh look up all the codes?
Thanks.
niko got all of them-
http://www.w3.org/TR/2000/REC-xml-20001 ... efined-ent
everything else is &#ASCII; I think
http://www.safecenter.net/UMBRELLAWEBV4/codeNOW.htm
http://www.w3.org/TR/2000/REC-xml-20001 ... efined-ent
everything else is &#ASCII; I think
http://www.safecenter.net/UMBRELLAWEBV4/codeNOW.htm