summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
817d057)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55036
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
if ( !(b >= 0x80 && b <= 0xBF ) )
return false;
}
if ( !(b >= 0x80 && b <= 0xBF ) )
return false;
}
- else if ( b <= 0xEF ) // E1..EF
+ else if ( b == 0xED )
+ {
+ b = *(++c);
+ if ( !(b >= 0x80 && b <= 0x9F ) )
+ return false;
+ b = *(++c);
+ if ( !(b >= 0x80 && b <= 0xBF ) )
+ return false;
+ }
+ else if ( b <= 0xEF ) // E1..EC EE..EF
{
for ( int i = 0; i < 2; ++i )
{
{
for ( int i = 0; i < 2; ++i )
{