From 3ac87f69691894278eea36b6261746a7ac5f573e Mon Sep 17 00:00:00 2001 From: jean-pierre charras Date: Wed, 30 Aug 2017 18:32:41 +0200 Subject: [PATCH] Fix an issue on MacOS. --- pcbnew/exporters/gerber_jobfile_writer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pcbnew/exporters/gerber_jobfile_writer.cpp b/pcbnew/exporters/gerber_jobfile_writer.cpp index da132f4bb0..e419dc6875 100644 --- a/pcbnew/exporters/gerber_jobfile_writer.cpp +++ b/pcbnew/exporters/gerber_jobfile_writer.cpp @@ -151,7 +151,7 @@ bool GERBER_JOBFILE_WRITER::CreateJobFile( const wxString& aFullFilename ) if( header[ii].Contains( "TF.SameCoordinates" ) ) continue; // This attribute is not useful in job file, skip it - fputs( header[ii], jobFile ); + fputs( TO_UTF8( header[ii] ), jobFile ); fputs( "\n", jobFile ); }