Ticket #781 (closed defect: fixed)
Unicode should not be used for accessing file system on Win32
| Reported by: | chorny | Owned by: | |
|---|---|---|---|
| Priority: | major | Milestone: | |
| Component: | editor | Version: | 0.50 |
| Keywords: | settings default_projects_directory | Cc: |
Description
Error:
Tried to change setting 'default_projects_directory' to non-existant path 'C:\Documents and Settings\Sasha\Мои документы' at C:/strawberry/perl/site/lib/Padre/Wx/Dialog/Preferences.pm line 978
Strange symbols mean 'My Documents' in Russian/utf8. Padre stores directory in configuration using Unicode. And checks that this directory exists in Unicode too - in Windows this fails because it uses win1251 to store.
From Padre::Config:
if ( $type == Padre::Constant::PATH and not -e $value ) {
Carp::croak("Tried to change setting '$name' to non-existant path '$value'");
}
Change History
Note: See
TracTickets for help on using
tickets.

Fixed myself in r12000