+ return UTF-8 in to_string
This commit is contained in:
parent
b352e91432
commit
7e6e00f06a
1 changed files with 3 additions and 20 deletions
|
@ -462,26 +462,9 @@ namespace mapnik {
|
||||||
// specializations
|
// specializations
|
||||||
std::string operator() (UnicodeString const& val) const
|
std::string operator() (UnicodeString const& val) const
|
||||||
{
|
{
|
||||||
//std::stringstream ss;
|
std::string utf8;
|
||||||
//std::wstring::const_iterator pos = val.begin();
|
to_utf8(val,utf8);
|
||||||
//ss << std::hex ;
|
return utf8;
|
||||||
//for (;pos!=val.end();++pos)
|
|
||||||
//{
|
|
||||||
// wchar_t c = *pos;
|
|
||||||
// if (c < 0x80)
|
|
||||||
// {
|
|
||||||
// ss << char(c);
|
|
||||||
// }
|
|
||||||
// else
|
|
||||||
// {
|
|
||||||
// ss << "\\x";
|
|
||||||
// unsigned c0 = (c >> 8) & 0xff;
|
|
||||||
// if (c0) ss << c0;
|
|
||||||
// ss << (c & 0xff);
|
|
||||||
// }
|
|
||||||
//}
|
|
||||||
//return ss.str();
|
|
||||||
return "TODO";
|
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string operator() (double val) const
|
std::string operator() (double val) const
|
||||||
|
|
Loading…
Reference in a new issue