However, many problems stem from utf8 / ansi codepage problems.
Perhaps you could try base64 encoding of your string ?
Yes, this function always returns "synlzo".
SynSelfTests.pas is often a good place to have an idea about how to use a function.
Line 8179 (TTestCompression._SynLZO) and further of this file.
You will see that the anistring s is compressed and decompressed !
SynSelfTests.pas is often a good place to have an idea about how to use a function.
Line 8179 (TTestCompression._SynLZO) and further of this file.
You will see that the anistring s is compressed and decompressed !
]]>I'm trying to use SynLZO unit with Synopse.inc file in order to use the compression functions available. I gave a look at the code, but I'm a free pascal beginner yet. Could you show me how to call CompressSynLZO function?
I'm trying like this:
CompressSynLZO(string_to_be compressed, True)
But it allways return:
synlzo
It seems that the function was programmed to allways return this...
Can you help me?
Best regards
]]>