specialFolderPath rendered in HTML...localization and encoding problems
sarah.reichelt at gmail.com
Tue Oct 23 21:12:05 EDT 2007
On 10/24/07, Mark E. Powell <runrev at aboutmyfiles.com> wrote:
> I write gifs to specialFolderPath(26) and create HTML reports that use those gifs. On English OS and browser, no problem: the HTML respects the path and shows the gifs. However when testing on non-English systems (Czech for example), the pathing fails because part of the literal path written to HTML contains high-ASCII characters.
> The HTML pages declares charset of UTF-8, but only when I manually choose a different encoding in the browser do the gifs show.
> Has anyone encountered this? There certainly has to be a straightforward solution to making literal file paths accurate across languages. I am just not seeing it.
This is just a guess, but does using the shortFilePath function help?
It might only be of use in Windows, but it's probably worth a try.
More information about the Use-livecode