mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-07-11 22:03:01 -06:00
*Core: Fixed glitch in FromUtf8 (concerning heavily malformed utf8 sequences)
git-svn-id: svn://ultimatepp.org/upp/trunk@2801 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
2913bc6bce
commit
7444a49013
1 changed files with 1 additions and 1 deletions
|
|
@ -2353,7 +2353,7 @@ WString FromUtf8(const char *_s, int len)
|
|||
if(code < 0x80)
|
||||
*t++ = code;
|
||||
else
|
||||
if(code < 0xC0)
|
||||
if(code < 0xC2)
|
||||
*t++ = 0xEE00 + code;
|
||||
else
|
||||
if(code < 0xE0) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue