Hi Does Lazarus have a function that can convert UnicodeString (UTF-16 encoding) to hexadecimal string output? some_utf16_text -->> 4E6F762073686D6F7A206B.... Regards, - Graeme - -- fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://fpgui.sourceforge.net/ My public PGP key: http://tinyurl.com/graeme-pgp