|
|
| version 1.33, 2008/05/22 16:17:50 | version 1.37, 2008/07/16 17:07:11 |
|---|---|
| Line 57 public: | Line 57 public: |
| bool isUTF8() const { return fisUTF8; } | bool isUTF8() const { return fisUTF8; } |
| static String::C transcode(const String::C src, | static String::C transcode(const String::C src, |
| const Charset& source_transcoder, | const Charset& source_charset, |
| const Charset& dest_transcoder | const Charset& dest_charset |
| ); | ); |
| static String& transcode(const String& src, | static String& transcode(const String& src, |
| Line 77 public: | Line 77 public: |
| const Charset& source_transcoder, | const Charset& source_transcoder, |
| const Charset& dest_transcoder); | const Charset& dest_transcoder); |
| XMLByte transcodeCharFromUTF8(XMLCh utf8code, XMLByte not_found); | static String::C escape(const String::C src, |
| const Charset& source_charset); | |
| void store_Char(XMLByte*& outPtr, XMLCh src, XMLByte not_found); | |
| #ifdef XML | #ifdef XML |
| xmlCharEncodingHandler& transcoder(const String::Body NAME); | xmlCharEncodingHandler& transcoder(const String::Body NAME); |
| Line 164 extern Charset::UTF8CaseTable UTF8CaseTo | Line 167 extern Charset::UTF8CaseTable UTF8CaseTo |
| void change_case_UTF8(const XMLByte* srcData, size_t srcLen, | void change_case_UTF8(const XMLByte* srcData, size_t srcLen, |
| XMLByte* toFill, size_t toFillLen, | XMLByte* toFill, size_t toFillLen, |
| const Charset::UTF8CaseTable& table); | const Charset::UTF8CaseTable& table); |
| size_t getUTF8BytePos(const XMLByte* srcBegin, const XMLByte* srcEnd, size_t charPos/*position in characters*/); | |
| size_t getUTF8CharPos(const XMLByte* srcBegin, const XMLByte* srcEnd, size_t bytePos/*position in bytes*/); | |
| size_t lengthUTF8(const XMLByte* srcBegin, const XMLByte* srcEnd); | |
| #endif | #endif |