Page 1 of 1

Change Directory Error(2)

Posted: 29 Jul 2007, 08:42
by ksworks
I got 'Change Directory Error: (2) No such file or directory"
in case of directory traversing.

1) Current dirname contain '\\' code(backslash).
2) Move to parent directory.
3) *ERROR OCCURS*

Perhaps... in Japanese, we use multibyte characters
contains '\\' code in NON SEPARATOR CHARACTER.

I guess

Posted: 29 Jul 2007, 08:55
by ksworks
In 'Move to parent' case, Slamander search-backward to '\\' code.
and remove '\\', and set directory to removed path...

so, I wrote a sample code.
one of this (test1) is a problem,
and another (test2) is NO problem.

May you review my code?
And I hope you to correct the problem.

Regards.

Posted: 30 Jul 2007, 21:41
by Jan Rysavy
The problem is in Unicode encoding. It is not supported in Altap Salamander 2.5. We plan it for version 3.0.