use iconv to convert string to UTF-16LE

This should handle multi byte characters correctly. Please not warnings
about line breaks, etc have been removed.