Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Fix to eliminate iconv for android (and other unix-es)
#8
Test code - very simple - just call function

function Iconvert(S: string; var Res: string; const FromEncoding, ToEncoding: string): cint;
from iconvenc unit on button click.

Something like

uses iconvenc;
procedure testme;
var S : UnicodeString;
begin
Iconvert('dfsfsdf',S,'UTF8','UTF16')
end;

it is failed somewhere in iconv(H, nil, nil, @Dst, @Outlen);

But how to debug inside iconv?
Believe me I spent a hours to build the library with the same ndk version that I am using for my project.
The result is the same and the same.
Reply


Messages In This Thread
RE: Fix to eliminate iconv for android (and other unix-es) - by ZGabrovski@gmail.com - 02-01-2021, 07:50 AM

Forum Jump:


Users browsing this thread: 3 Guest(s)