When i use UnicodeToAnsi (with BUG) it result string without unicode chars. Only ????
Is
Code: Select all
{$IFDEF ZEOS_FULL_UNICODE}
{**
Converts Unicode strings to Ansi (Delphi 2009 Up)
}
function UnicodeToAnsi(const UnicodeString: string): AnsiString;
begin
result := AnsiString(UnicodeString);
end;
{$ENDIF}
Code: Select all
{$IFDEF ZEOS_FULL_UNICODE}
{**
Converts Unicode strings to Ansi (Delphi 2009 Up)
}
function UnicodeToAnsi(const UnicodeString: string): Utf8string;
begin
result := Utf8string(UnicodeString);
end;
{$ENDIF}
but UTF8String != AnsiString