-
-
Notifications
You must be signed in to change notification settings - Fork 268
[FB4] ICU63.1 suppresses conversion errors #8108
Copy link
Copy link
Closed
Labels
affect-version: 4.0.4affect-version: 5.0.0affect-version: 6.0 Initialcomponent: charsets/collationfix-version: 4.0.5fix-version: 5.0.1fix-version: 6.0 Alpha 1qa: done successfullyrlsnotes60: noIntentionally not added to the Firebird 6.0 release notes.Intentionally not added to the Firebird 6.0 release notes.type: bug
Metadata
Metadata
Assignees
Labels
affect-version: 4.0.4affect-version: 5.0.0affect-version: 6.0 Initialcomponent: charsets/collationfix-version: 4.0.5fix-version: 5.0.1fix-version: 6.0 Alpha 1qa: done successfullyrlsnotes60: noIntentionally not added to the Firebird 6.0 release notes.Intentionally not added to the Firebird 6.0 release notes.type: bug
FB4 returns an empty string when he can't translate Unicode symbol into ICU-codepage.
FB3 in this case returns an error.
Unicode symbol with code 0x115F (input string 'ᅟ')
Connection charset is NONE.
The problem in new implementation of callback function UCNV_FROM_U_CALLBACK_STOP in ICU v63.1
https://github.com/unicode-org/icu/blob/5df4d7dfd8d77dd16aa3a0b398d50a22f4c85daa/icu4c/source/common/ucnv_err.cpp#L68-L113
In ICU v52 (FB3) this function does not contain any code
https://github.com/unicode-org/icu/blob/574e7d9d55760680ea14dbfc4908429a58c5d544/icu4c/source/common/ucnv_err.c#L53-L66