Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Fix to eliminate iconv for android (and other unix-es)
#14
(02-05-2021, 06:36 AM)ZGabrovski@gmail.com Wrote: Please, find attached file with bugs fixed. Now it works.

I have made further tweaks.  See attached, as well as checked in to a GitHub branch.  I suggest you work from that branch from now on, you are getting out of sync with Indy's main code.

(02-05-2021, 06:36 AM)ZGabrovski@gmail.com Wrote: I am no expecting the problems under android, if then function "SetSrting" terminates the string with #0 and string length will be OK.
But I will test tonight just in case.

Yes, SetString() guarantees the output string is null-terminated properly.


Attached Files
.zip   IdGlobal.pas 2.zip (Size: 65.83 KB / Downloads: 3)

Reply


Messages In This Thread
RE: Fix to eliminate iconv for android (and other unix-es) - by rlebeau - 02-05-2021, 05:59 PM

Forum Jump:


Users browsing this thread: 2 Guest(s)