Performance: use XMLRecognizer::Encodings enum to make new transcode, faster than comparing the encoding string every time. Also thread-safe the static variable gMappings.
Performance: use XMLRecognizer::Encodings enum to make new transcode, faster than comparing the encoding string every time.
Also thread-safe the static variable gMappings.


git-svn-id: 95233098a850bdf68e142cb551b6b3e756f38fc7@174405 13f79535-47bb-0310-9956-ffa450edef68

svn2github/xerces-c,svn2github/xerces-c,svn2github/xerces-c,svn2github/xerces-c,svn2github/xerces-c