I have changed the hardcoded UCS-4 encoding to call to ucs4Internal(); this is necessary to avoid endianness problems (UCS-4 is bigendian by definition, in order to get the translation in platform specific endianness one should use UCS-4-INTERNAL, but unfortunately, not all iconv's recognise that, so Hub implemented the ucs2Internal() a while back to provide a suitable encoding).
Tomas
