Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Encoding problem?
#5
(10-28-2024, 02:35 AM)rlebeau Wrote: In this situation, I would suggest using IndyTextEncoding_OSDefault (or IndyTextEncoding_8bit), eg:

Code:
with AContext.Connection.IOHandler do
begin
  DefStringEncoding := IndyTextEncoding_OSDefault; // or 8bit
  DefAnsiEncoding := IndyTextEncoding_OSDefault; // or 8bit
end;

That should preserve the old behavior you are looking for.

Remy you are an absolute STAR! That's fixed it - thanks a lot!
Reply


Messages In This Thread
Encoding problem? - by Justin Case - 10-27-2024, 08:27 PM
RE: Encoding problem? - by rlebeau - 10-27-2024, 09:39 PM
RE: Encoding problem? - by Justin Case - 10-27-2024, 09:57 PM
RE: Encoding problem? - by rlebeau - 10-28-2024, 02:35 AM
RE: Encoding problem? - by Justin Case - 10-28-2024, 09:53 AM
RE: Encoding problem? - by Justin Case - 11-03-2024, 09:54 PM
RE: Encoding problem? - by rlebeau - 11-04-2024, 04:39 AM
RE: Encoding problem? - by Justin Case - 11-04-2024, 09:22 AM

Forum Jump:


Users browsing this thread: 3 Guest(s)