On Tue, 6 Oct 2015 15:35:41 +0100
Graeme Geldenhuys <[email protected]> wrote:
> Hi
>
> Does Lazarus have a function that can convert UnicodeString (UTF-16
> encoding) to hexadecimal string output?
>
>
> some_utf16_text -->> 4E6F762073686D6F7A206B....
Maybe dbgMemRange of LazLoggerBase helps:
ws:='some_utf16_text';
debugln('ws=',dbgMemRange(Pointer(ws),length(ws)*2));
ws=73006F006D0065005F00750074006600310036005F007400650078007400
Mattias
--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus