>but wouldn't it produce an empty filename? and maybe the FATFS >implementation run into a neverending loop with empty filenames?
All PalmLatin characters can be converted into Unicode (UTF-16LE) for the long version of the file name. For short DOS filenames, if a character can't be converted then it's mapped to a '_'. But maybe there's a bug in that logic, and the end result is an empty or invalid short DOS file name. -- Ken >Ken Krugler wrote: > >> >> Hi Jonatan, > > >>> 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. -- Ken Krugler TransPac Software, Inc. <http://www.transpac.com> +1 530-470-9200 -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
