updated to the new pikotools api: changed utf8 functions PascalCase to snake_case
This commit is contained in:
@@ -229,7 +229,7 @@ DbTextStream & DbTextStream::operator<<(RawText<pt::Date> date)
|
||||
{
|
||||
tmp_stream.Clear();
|
||||
date.par.Serialize(tmp_stream);
|
||||
pt::WideToUTF8(tmp_stream.CStr(), buffer, false);
|
||||
pt::wide_to_utf8(tmp_stream.CStr(), buffer, false);
|
||||
tmp_stream.Clear();
|
||||
|
||||
was_param = false;
|
||||
@@ -290,7 +290,7 @@ DbTextStream & DbTextStream::ETextPutChar(wchar_t c)
|
||||
buffer += "\\\'"; // don't use "''" because we use the method for PQconnectdb too
|
||||
else
|
||||
if( c != 0 )
|
||||
pt::IntToUTF8(int(c), buffer, false);
|
||||
pt::int_to_utf8(int(c), buffer, false);
|
||||
|
||||
return *this;
|
||||
}
|
||||
|
Reference in New Issue
Block a user