Ticket #354 (new defect)
Non-ASCII paths get corrupted
| Reported by: | vidalia | Owned by: | developer |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Vidalia | Version: | |
| Keywords: | paths encoding | Cc: |
Description
In Vidalia settings, 'Advanced' tab, there are 2 fields containing paths to Tor configuration file and data directory. If these contain non-ASCII characters, which is the case if Windows XP isn't English - its administrator account name is localized and it's part of the path, they get broken after saving the settings and opening them again. I think all non-ASCII characters are being translated with wrong encoding (latin1?).
Steps to reproduce:
1) Create a folder with non-ASCII characters in name, for example, something Russian. In my case, it was "администратор".
2) Set this folder as 'Tor data directory' in Vidalia settings.
3) Save settings.
4) Open settings again.
The 'Tor data directory' folder name is expected to be the same. It will be different, with Russian characters translated to some vowels with diacritics. Tor, of course, will not start after that, because it will not find these files. In order for it to start, I have to correct the paths.
My suggestion is to use Unicode.
Windows XP SP2, Vidalia 0.0.16, Tor 0.1.2.19
