Hi France,

what filesystem are you on?

I know its not very helpful to say: ¡°works on my machine¡±, but on macOS I could simply use your example as a path:

 

 

 

Can you try creating a file with that name from your Terminal or outside of BaseX?

You might then try file:list() to get a glimpse whether or not the filesystem changed something.

 

Hope this helps. In my opinion and experience for portability its safest to stick to ASCII.

 

Best

 

Michael

 

Von: BaseX-Talk <basex-talk-bounces@mailman.uni-konstanz.de> im Auftrag von France Baril <france.baril@architextus.com>
Datum: Dienstag, 31.
Mai 2022 um 17:58
An: BaseX <basex-talk@mailman.uni-konstanz.de>
Cc: Eric Schieler <eschieler@nutshellcommunication.com>
Betreff: [basex-talk] Cannot file:write when path has chinese characters...

 [file:invalid-path] Invalid file path: 'Temp/pdfs/e5-ÇáÉݰæ-80-global-en-us-dh9.fo

 

Any chance this limit can be overcome?

 

--

France Baril
Architecte documentaire / Documentation architect
france.baril@architextus.com