added support for UTF-32 (equivalent to UCS-4)