Added enum 'DEFAULT' to 'IfcCharacterDecoder::ConversionMode': using default converter as system default codepage.

This commit is contained in:
Jang Myeongho
2012-06-27 04:22:51 +00:00
parent 4975de6d74
commit 1aa3a52b72
2 changed files with 28 additions and 15 deletions
+4 -4
View File
@@ -51,12 +51,12 @@ namespace IfcParse {
#endif
void addChar(std::stringstream& s,const UChar32& ch);
public:
#ifdef HAVE_ICU
enum ConversionMode {UTF8,LATIN,JSON,PYTHON};
//#ifdef HAVE_ICU
enum ConversionMode {DEFAULT,UTF8,LATIN,JSON,PYTHON};
static ConversionMode mode;
#else
//#else
static char substitution_character;
#endif
//#endif
IfcCharacterDecoder(IfcParse::File* file);
~IfcCharacterDecoder();
void dryRun();