updated to the new pikotools api: changed utf8 functions PascalCase to snake_case

This commit is contained in:
2021-05-21 00:41:27 +02:00
parent 8c523ce8b9
commit 8bb585d97d
25 changed files with 99 additions and 99 deletions

View File

@@ -296,7 +296,7 @@ void FunctionParser::ParseAnchor()
while( *path )
name_ascii += GetChar();
pt::UTF8ToWide(name_ascii, cur->request->anchor);
pt::utf8_to_wide(name_ascii, cur->request->anchor);
if( !cur->request->anchor.empty() )
log << log3 << "FP: anchor: " << cur->request->anchor << logend;
@@ -368,7 +368,7 @@ void FunctionParser::ReadName()
while( *path && *path!='/' && *path!='?' && *path!='#' )
name_ascii += GetChar();
pt::UTF8ToWide(name_ascii, name);
pt::utf8_to_wide(name_ascii, name);
}
@@ -379,7 +379,7 @@ void FunctionParser::ReadOrdinaryParName()
while( *path && *path!='=' && *path!='&' && *path!='#' )
name_ascii += GetChar();
pt::UTF8ToWide(name_ascii, name);
pt::utf8_to_wide(name_ascii, name);
}
@@ -393,7 +393,7 @@ void FunctionParser::ReadOrdinaryParValue()
while( *path && *path!='&' && *path!='#' )
value_ascii += GetChar();
pt::UTF8ToWide(value_ascii, value);
pt::utf8_to_wide(value_ascii, value);
}
@@ -404,7 +404,7 @@ void FunctionParser::ReadWinixParName()
while( *path && *path!='/' && *path!=':' && *path!='#' )
name_ascii += GetChar();
pt::UTF8ToWide(name_ascii, name);
pt::utf8_to_wide(name_ascii, name);
}
@@ -418,7 +418,7 @@ void FunctionParser::ReadWinixParValue()
while( *path && *path!='/' && *path!='#' )
value_ascii += GetChar();
pt::UTF8ToWide(value_ascii, value);
pt::utf8_to_wide(value_ascii, value);
}