updated to the new pikotools api: changed utf8 functions PascalCase to snake_case
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
*/
|
||||
|
||||
/*
|
||||
* Copyright (c) 2008-2014, Tomasz Sowa
|
||||
* Copyright (c) 2008-2021, Tomasz Sowa
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
@@ -143,7 +143,7 @@ void HttpSimpleParser::ReadName()
|
||||
}
|
||||
|
||||
if( getchar_returns_utf8_chars )
|
||||
pt::UTF8ToWide(utf8_token, last_name);
|
||||
pt::utf8_to_wide(utf8_token, last_name);
|
||||
|
||||
if( last_c == '=' )
|
||||
last_c = GetChar();
|
||||
@@ -173,7 +173,7 @@ void HttpSimpleParser::ReadQuotedValue()
|
||||
}
|
||||
|
||||
if( getchar_returns_utf8_chars )
|
||||
pt::UTF8ToWide(utf8_token, last_value);
|
||||
pt::utf8_to_wide(utf8_token, last_value);
|
||||
|
||||
if( last_c == '"' )
|
||||
last_c = GetChar();
|
||||
@@ -204,7 +204,7 @@ void HttpSimpleParser::ReadNormalValue()
|
||||
}
|
||||
|
||||
if( getchar_returns_utf8_chars )
|
||||
pt::UTF8ToWide(utf8_token, last_value);
|
||||
pt::utf8_to_wide(utf8_token, last_value);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user