From: <st...@us...> - 2009-03-01 09:28:58
|
Revision: 3693 http://hugin.svn.sourceforge.net/hugin/?rev=3693&view=rev Author: stativ Date: 2009-03-01 09:28:57 +0000 (Sun, 01 Mar 2009) Log Message: ----------- Changed wxConvUTF8 in PTBatcher to wxConvLocal. It should fix problems with non ASCII characters under Windows. Modified Paths: -------------- hugin/trunk/src/PTBatcher/PTBatcher.cpp hugin/trunk/src/hugin1/hugin/PanoPanel.cpp Modified: hugin/trunk/src/PTBatcher/PTBatcher.cpp =================================================================== --- hugin/trunk/src/PTBatcher/PTBatcher.cpp 2009-03-01 08:05:46 UTC (rev 3692) +++ hugin/trunk/src/PTBatcher/PTBatcher.cpp 2009-03-01 09:28:57 UTC (rev 3693) @@ -173,7 +173,7 @@ return 1; } batch->LoadTemp(); - batch->AddProjectToBatch(wxString(input.c_str(), wxConvUTF8),wxString(output.c_str(), wxConvUTF8)); + batch->AddProjectToBatch(wxString(input.c_str(), wxConvLocal),wxString(output.c_str(), wxConvLocal)); if(output == "") cout << "Added project " << input << " with output " << output << endl; else Modified: hugin/trunk/src/hugin1/hugin/PanoPanel.cpp =================================================================== --- hugin/trunk/src/hugin1/hugin/PanoPanel.cpp 2009-03-01 08:05:46 UTC (rev 3692) +++ hugin/trunk/src/hugin1/hugin/PanoPanel.cpp 2009-03-01 09:28:57 UTC (rev 3693) @@ -1043,7 +1043,7 @@ } wxFile batchFile; batchFile.Create(batchFileName); - batchFile.Write(projectFile,wxConvUTF8); + batchFile.Write(projectFile,wxConvLocal); batchFile.Close(); } } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |