Depends on the target. For Win32 it's ok. For Linux and other >Unixes it is wrong. wchar_t is 4 bytes there. You can use the UCS4Char type.
Where is UCS4Char declared? It doesn't apear to be in System, ObjFPC, Linux or SysUtils.
Andrew
_________________________________________________________________ MSN Photos is the easiest way to share and print your photos: http://photos.msn.com/support/worldwide.aspx
