diff --git a/src/commands/ImportExportCommands.cpp b/src/commands/ImportExportCommands.cpp index 86fc70cf4..6fc2a897a 100644 --- a/src/commands/ImportExportCommands.cpp +++ b/src/commands/ImportExportCommands.cpp @@ -92,7 +92,7 @@ bool ExportCommand::Apply(CommandExecutionContext context) } // Find the extension and check it's valid - int splitAt = filename.Find(wxT(".")); + int splitAt = filename.Find(wxUniChar('.'), true); if (splitAt < 0) { Error(wxT("Export filename must have an extension!"));