UTF-8 to UTF-16 conversion routines

This source code is provided as is by Unicode, Inc.
Force UTF16-BE, for PDF strings
PDF metadata from UTF-8 mostly works