Skip to content

Commit

Permalink
fallback to backslashreplace
Browse files Browse the repository at this point in the history
fixing #46
  • Loading branch information
typemytype committed Dec 10, 2021
1 parent 9e2cd68 commit c026ed3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Lib/extractor/formats/opentype.py
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ def _extractInfoName(source, info):
platformID = record.platformID
encodingID = record.platEncID
languageID = record.langID
string = record.toUnicode()
string = record.toUnicode('backslashreplace')
nameIDs[nameID, platformID, encodingID, languageID] = string
records.append(
(
Expand Down

0 comments on commit c026ed3

Please sign in to comment.