mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-13 08:53:20 +00:00
ICU-673 Fixed inclusion of GB2312 extensions
X-SVN-Rev: 2722
This commit is contained in:
parent
7e0c5ee2a5
commit
8cc7ad4f93
1 changed files with 5 additions and 1 deletions
|
@ -656,7 +656,11 @@ U_CFUNC void UConverter_fromUnicode_HZ(UConverterFromUnicodeArgs *args, UErrorCo
|
|||
*err =U_INVALID_CHAR_FOUND;
|
||||
goto CALLBACK;
|
||||
}
|
||||
|
||||
if(((targetUniChar & 0x8080) != 0x8080)&& length==2){
|
||||
reason =UCNV_ILLEGAL;
|
||||
*err =U_INVALID_CHAR_FOUND;
|
||||
goto CALLBACK;
|
||||
}
|
||||
|
||||
myConverterData->isTargetUCharDBCS = isTargetUCharDBCS = (UBool)(targetUniChar>0x00FF);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue