Schlagwort-Archive: OpenSSL

Bit perfect strings in php and Delphi (TEncoding.Unicode)

Since Delphi 2009 strings are Unicode strings. That means UTF-16 not UTF-8! If You need to exchange compressed or encrypted (OpenSSL) strings(streams) from Delphi to php and vice versa You must „convert“ Your PHP strings to UTF-16 Little-Endian without BOM. Weiterlesen