I'm getting a pointer to wchar_t which is PUCS4Char on linux and osx. To convert an UCS4String to WideString there is UCS4StringToWideString. But how can I convert PUCS4Char to UCS4String? UCS4String is a dynamic array. Direct assignment isn't supported and a simple typecast isn't going to work. Is there already existing something or do I need to write a PUCS4CharToWideString (I'm not interested in the intermediate UCS4String) ? Ludo
_______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal