There is a discussion with algorithms here: http://www.unicode.org/faq/utf_bom.html#utf16-4 However, I cannot understand it, and feel that there is an element of obfuscation going on there. Richmond.