I've made a simple application for testing, one Form with one Button. (Samsung Note 10) Until 17.01.2021 have worked properly. There were a Software Update at this time, and I Noticed, that this applocation is not working. I tried to reinstall from Delphi 10.3, but the following Debugger Exception appeared: .apk raised exception class Segmentation fault (11). When I press the Break the Debugger takes me to the System:
function UnicodeFromLocaleChars(const LocaleName: _AnsiStr; Flags: Cardinal;
LocaleStr: _PAnsiChr; LocaleStrLen: Integer; UnicodeStr: PWideChar;
UnicodeStrLen: Integer): Integer; overload;
var
Err: UErrorCode;
Conv: PUConverter;
NSubs: Int32;
begin
Result := 0;
if LocaleName = 'UTF-8' then
begin
Err := U_ZERO_ERROR;
***u_strFromUTF8WithSub(UnicodeStr, UnicodeStrLen, Result, LocaleStr, LocaleStrLen, UChar32('?'), NSubs, Err);***
if (UnicodeStrLen > 0) and (Err > 0) then
I tried to Ignore, but the Application not works also in this case.
I tried on other Android 10 devices without software update, it works properly with the same options.
Can you give me some suggestion, what can I do, to work on this device?
Thanks for you Answere!