Linux filenames in LC Server

matthias_livecode_150811 at matthias_livecode_150811 at
Mon Aug 14 07:53:27 EDT 2023

see below...

> Am 14.08.2023 um 13:30 schrieb Mark Waddingham via use-livecode <use-livecode at>:
> On 2023-08-14 12:12, matthias rebbe via use-livecode wrote:
>> Hi Mark,
>> when i read Neville's post i thought also about normalize, although i really do not have a clue about the whole unicode stuff, but i remembered that the standalone builder make use of the normalize function. ;)
>> So i used this script on LC Server to write the seconds to a file containing an a-umlaut in its name.
>> put  normalizeText("testä.txt", "NFC") into tFile
>> put the seconds into URL ("binfile:"&tFile)
>> put the result
>> put "<br><br>"
>> put the files
>> put "<br><br>"
>> put tFile
>> But that does not work. "The result" returns 'can't open file'.
> Hmmm - I must confess that I misread Neville's post - he did explicitly mention 'creating' files... The normalization would only arise if the file already existed, but the requested (incoming) filename was normalized differently (thus resulting in the file not being found).
> So assuming that the defaultFolder is accessible in your above script (as a read-only folder would also cause the same error) then there does appear to be something up here...

The default folder is accessible. The same script works when the ä is removed  from the line
put  normalizeText("testä.txt", "NFC") into tFile

> Warmest Regards,
> Mark.
> -- 
> Mark Waddingham ~ mark at <mailto:mark at> ~
> LiveCode: Build Amazing Things
> _______________________________________________
> use-livecode mailing list
> use-livecode at <mailto:use-livecode at>
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:

More information about the use-livecode mailing list