From: <st...@us...> - 2009-02-28 11:46:54
|
Revision: 3679 http://hugin.svn.sourceforge.net/hugin/?rev=3679&view=rev Author: stativ Date: 2009-02-28 11:46:43 +0000 (Sat, 28 Feb 2009) Log Message: ----------- Hopefully fixed UTF-8 support with PTBatcher Modified Paths: -------------- hugin/trunk/src/PTBatcher/PTBatcher.cpp Modified: hugin/trunk/src/PTBatcher/PTBatcher.cpp =================================================================== --- hugin/trunk/src/PTBatcher/PTBatcher.cpp 2009-02-28 00:34:32 UTC (rev 3678) +++ hugin/trunk/src/PTBatcher/PTBatcher.cpp 2009-02-28 11:46:43 UTC (rev 3679) @@ -173,7 +173,7 @@ return 1; } batch->LoadTemp(); - batch->AddProjectToBatch(wxString::FromAscii(input.c_str()),wxString::FromAscii(output.c_str())); + batch->AddProjectToBatch(wxString(input.c_str(), wxConvUTF8),wxString(output.c_str(), wxConvUTF8)); if(output == "") cout << "Added project " << input << " with output " << output << endl; else This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |