Eeschema: fix a UTF8 issue created by my commit 993a684

This commit is contained in:
jean-pierre charras 2020-11-19 14:37:33 +01:00
parent 18ad58cf4c
commit 801f385521
1 changed files with 2 additions and 1 deletions

View File

@ -1599,7 +1599,8 @@ void SCH_SEXPR_PLUGIN_CACHE::SaveSymbol( LIB_PART* aSymbol, OUTPUTFORMATTER& aFo
for( auto unit : units )
{
name = aFormatter.Quotew( unitName ); // Add quotes and escape chars like ")
// Add quotes and escape chars like ") to the UTF8 unitName string
name = aFormatter.Quotes( unitName );
name.pop_back(); // Remove last char: the quote ending the string.
aFormatter.Print( aNestLevel + 1, "(symbol %s_%d_%d\"\n",