Fixed several issues with UTF and added support for some extra data types