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 ); }