14 Utf8ToFilename(
const string &utf8string );
17 bool IsUTF16Valid( )
const;
19 operator LPCWSTR( )
const {
return _wideCharString; }
20 operator LPWSTR( )
const {
return _wideCharString; }
23 Utf8ToFilename (
const Utf8ToFilename &src );
24 Utf8ToFilename &operator= (
const Utf8ToFilename &src );
26 wchar_t *ConvertToUTF16 (
const string &
utf8 );
28 static int ConvertToUTF16Buf (
const char *
utf8,
31 static int GetPrefixLen (
const string &utf8string );
33 static int IsAbsolute (
const string &utf8string );
35 static int IsPathSeparator (
char c );
37 static int IsUncPath (
const string &utf8string );
39 static const UINT8 *Utf8DecodeChar (
40 const UINT8 *utf8_char,
46 static size_t Utf8LenFromUcs4 ( UINT32 ucs4 );
48 static UINT8 Utf8NumOctets ( UINT8 utf8_first_byte );
58 wchar_t* _wideCharString;