Conversion between UTF-8, UTF-16LE and UTF-32LE