Better error message
Completed the UTF-16 support on the Linux platform.