113,114c113,115 < std::wstring s (model.wstring()); // std::string ng for MBCS encoded POSIX < const wchar_t hex[] = L"0123456789abcdef"; --- > std::string s (model.string()); // std::string ng for MBCS encoded POSIX > > const char hex[] = "0123456789abcdef"; 120c121 < for(std::wstring::size_type i=0; i < s.size(); ++i) --- > for(std::string::size_type i=0; i < s.size(); ++i)