Warning fixes
This commit is contained in:
@@ -304,13 +304,13 @@ std::string String::createUTF8EncodedString() const
|
||||
else if (currentChar < 0x800)
|
||||
{
|
||||
utf8string+=(char)(0xc0 | (currentChar>>6));
|
||||
utf8string+=(char)(0x80 | currentChar & 0x3f);
|
||||
utf8string+=(char)(0x80 | (currentChar & 0x3f));
|
||||
}
|
||||
else
|
||||
{
|
||||
utf8string+=(char)(0xe0 | (currentChar>>12));
|
||||
utf8string+=(char)(0x80 | (currentChar>>6) & 0x3f);
|
||||
utf8string+=(char)(0x80 | currentChar & 0x3f);
|
||||
utf8string+=(char)(0x80 | ((currentChar>>6) & 0x3f));
|
||||
utf8string+=(char)(0x80 | (currentChar & 0x3f));
|
||||
}
|
||||
}
|
||||
return utf8string;
|
||||
|
||||
Reference in New Issue
Block a user