On Monday 31 July 2006 3:26 pm, [EMAIL PROTECTED] wrote:
> On Jul 29, 2006, at 19:56 UTC, D Jungk wrote:
> > I'm using the Linux IDE, RB2006r3.
> >
> > What i need to do is display a list and open text files with Spanish
> > names. With this code:
> >
> > Dim f as FolderItem
> >
> > f=GetOpenFolderItem("????")
> > If f<>nil then
> > StaticText1.text=f.name
> > Else
> > StaticText1.text="Nil"
> > End If
> >
> > when I select a file with no non-ascii characters, I see the file name
> > appear in the window. If I select a file with e.g. ñ or é in the name,
> > I see "Nil".
>
> If GetOpenFolderItem on Linux is returning Nil for any file contaning
> non-ASCII characters in its name, I'd say that's a nasty bug. Do you have
> a feedback ID for it?
>
> Best,
> - Joe
>
> --
> Joe Strout -- [EMAIL PROTECTED]
Yes, it is: uccfwmsu
I've also found something else that I think may be related. My Linux system
seems to be expecting shell commands to be in WindowsAnsi or in ISOLatin1,
but RB seems to be sending them in UTF-8.
If I try to send a shell command with a path that has ñ or é in it, it fails.
I have tried setting the encoding of a string first and then using that in
the command. It still fails. I can cut the path from the debugger and paste
it into the terminal and it works fine.
There seems to be no way to send a shell command using a path with a non-ascii
in it. My work around so far is to save a text file with the commands (with
proper encoding and permissions) and then call it as a script.
I'll have a bug ID for this one tomorrow.
Don
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>