Page 1 of 1
irrXML parsing
Posted: Sun Nov 13, 2005 7:43 pm
by jacaru
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.
Posted: Sun Nov 13, 2005 10:32 pm
by Guest
I guess this is the place, in CXMLReaderImpl.h
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;");
}
I miss there more special characters:
á é í ó ú ü ç Ç
Does anyone know a table where i migh look up all the codes?
Thanks.
Posted: Mon Nov 14, 2005 1:00 am
by bitplane
Posted: Mon Nov 14, 2005 1:31 am
by jacaru
got it now, thanks!