in reply to Cyrillic names of directories

Artemis:

Try chomping your directory name before passing it to print_dir. It worked for me after doing so.

...roboticus

When your only tool is a hammer, all problems look like your thumb.

Replies are listed 'Best First'.
Re^2: Cyrillic names of directories
by Artimus (Sexton) on Mar 12, 2014 at 19:45 UTC
    Am I not doing so?

      Artimus:

      Sorry, I missed that. Try checking for errors from chdir to determine when and why it fails.

      I just read the documentation for the Cyrillic module: It seems that it's not intended to help you translate the user input strings to unicode. It appears to be a way for you to use Cyrillic in your scripts. However, I've not finished my coffee this morning, and I find the documentation a bit difficult to read.

      ...roboticus

      When your only tool is a hammer, all problems look like your thumb.