Opened 5 years ago

Closed 4 years ago

#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 (1)

comment:1 Changed 4 years ago by chorny

  • Resolution set to fixed
  • Status changed from new to closed
  • Summary changed from Unicode should not be used for accessing file system to Unicode should not be used for accessing file system on Win32

Fixed myself in r12000

Note: See TracTickets for help on using tickets.