"the files", "get URL" and Unicode File Names

Bernard Devlin bdrunrev at gmail.com
Sun Feb 21 06:02:57 EST 2010


On Sun, Feb 21, 2010 at 5:32 AM, Igor de Oliveira Couto
<igor at pixelmedia.com.au> wrote:
> Please do send any more suggestions, though. I really want this to work, and I'll try anything!!!  :)

Igor, I tried with Vista and there's a bit of good news and a lot of
bad news.  The good news is it doesn't choke on a file with a 'ĉ' it
the name, but it does replace it with a 'c' when getting 'the files'.
Subsequently Rev is unable to find the file in "there is a file" when
it has substituted the character, so the checksum fails.

In the message box I tried "there is a file" using a file with a ĉ in
the name.  And not only did Rev answer false when there was such a
file, the message box replaced the ĉ in the input field and put either
several spaces or a tab in place of the ĉ.

Thinking that bugs like this surely would have been seen by our French
revolutionaries I switched my input to French and restarted Rev, but
still the problem persisted.  I set the useUnicode to true in all your
handlers (the only property that seems vaguely relevant), but still no
go.

Thinking that the issues I saw with ĉ in the message box might be a
message-box-only issue, I tried to just get the file from within a
button.  But in my testing, I could not even paste a ĉ into the script
editor.

Finally I checked in RQCC.  Unfortunately there seem to be relevant
bug reports dating back almost 2 years:

http://quality.runrev.com/qacenter/show_bug.cgi?id=4897
http://quality.runrev.com/qacenter/show_bug.cgi?id=7019

There are approx 30% more bugs now than there were 12 months ago.
Everyone's very excited about revMobile, but I see no reason to think
that in 12 months time the bug count won't be even higher.

It looks like you don't even have the option to parse the output of
shell() (and 'dir' or 'ls' depending on the platform), since the file
operations will fail even if you get the correct file name.

I'm afraid I'm out of suggestions.  Maybe someone else can help.  I
must be missing something - anyone providing Rev apps to the French or
German markets must have had problems with users having file names
with circumflex accents or umlauts.

Bernard



More information about the use-livecode mailing list