We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent af0ba1d commit 5a0dae6Copy full SHA for 5a0dae6
adafruit_bitmap_font/bdf.py
@@ -93,7 +93,7 @@ def load_glyphs(self, code_points):
93
remaining = set()
94
remaining.add(code_points)
95
elif isinstance(code_points, str):
96
- remaining = set(code_points.encode("utf-8"))
+ remaining = set(ord(c) for c in code_points)
97
elif isinstance(code_points, set):
98
remaining = code_points
99
else:
0 commit comments