Dir$ not working with special characters on Linux

Hi,

I have created an agent which loops through all files in a direcory using Dir$ (i also tried Dir). The problem is that the returned filepathes dont contain any of the “special” characters for the czech language (they are repaced with “”). If I try to open this files then the error “file not found” is raised ( !! of course ).

I am using R6.0.1 CF1 ENG on SUSE Linux 8.0.

I think that I have the language settings set up properly because I dont have any problems with displaying these characters anywhere in notes nor with the sorting in the views.

And now the strangest thing:

-If I run the agent from my Windows-Workstation all works fine. (so far I would understand that)

-If I run the agent on the server INITIATING it through the console using the command “tell amgr run “…/db.nsf” ‘Agent’”. THEN IT WORKS WTHOUT ANY PROBLEMS !!!

  • If I start the ageny “by schedule” it does not work.

The thing that I dont understand at all is that in the last two cases the agent is running on the server with totally different results.

Does anybody know where to set up Notes/Linux to be able to work with “special” characters ?

Does anybody know what difference it makes if you start an agent “by schedule” or through the console ? If I could find this difference maybe I could solve it ?

TIA

Hynek

Subject: Test

Test

Subject: Dir$ not working with special characters on Linux

A friend has suggested me following code:

dim filesys, objfolder, objfiles as variant

if filesys.folderexists(foldername) then

set objfolder=filesys.getfolder(foldername)

set objfiles=objfolder.files

forall f in objfiles

//your code goes here

end forall

end if