I am having problems creating a file with VFSFileCreate() if the file name
contains international characters.

err = VFSFileCreate(vfsRefNum, "/MYDIR/aaaaaaaaaaaaaaa.tmp");

is working.

err = VFSFileCreate(vfsRefNum, "/MYDIR/���������������.tmp");

is not.

Execution stops, the Palm freezes and no error code is returned.

In the Reference manual it says in the comments about VFSFileCreate:

 "It is the *responsibility of the file system library* to ensure that all
filenames are translated into a format that is compatible with the native
format of the file system, such as the 8.3 convention for a FAT file system
without long filename support."

I am working with the NR70 series and a Memory Stick card. [ Which like all
VFS enabled Palm is using the
VFAT file system if I am correct, and thus have long file name support. ]

Can you not create files if its name contains international characters?

I can create such a file on my PC and successfully copy it to the Memory
Stick, and it shows up with the correct name on the Palm.

What am I missing here?

Thanks.

/Jonatan





-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to