see below...
> Am 14.08.2023 um 13:30 schrieb Mark Waddingham via use-livecode > <use-livecode@lists.runrev.com>: > > 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 ~ m...@livecode.com <mailto:m...@livecode.com> ~ > http://www.livecode.com/ > LiveCode: Build Amazing Things > > _______________________________________________ > use-livecode mailing list > use-livecode@lists.runrev.com <mailto:use-livecode@lists.runrev.com> > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode