HtmlTextStream has now pt::Stream as a based class and uses pt::WTextStream as a buffer
This commit is contained in:
@@ -1450,6 +1450,17 @@ void RemovePostFileTmp(PostFileTab & post_file_tab)
|
||||
}
|
||||
|
||||
|
||||
void JSONescapeStream(const pt::WTextStream & in, pt::WTextStream & out)
|
||||
{
|
||||
pt::WTextStream::const_iterator i = in.begin();
|
||||
|
||||
for( ; i != in.end() ; ++i)
|
||||
{
|
||||
JSONescape(*i, out);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
bool wide_to_utf8(const wchar_t * wide_string, char * utf8, size_t utf8_size)
|
||||
{
|
||||
bool res = pt::wide_to_utf8(wide_string, utf8, utf8_size);
|
||||
|
Reference in New Issue
Block a user