Decode letters from argv as UTF-8 in tools/font-generator.py
authorIngo Ruhnke <grumbel@gmail.com>
Sun, 17 Aug 2014 00:14:57 +0000 (02:14 +0200)
committerIngo Ruhnke <grumbel@gmail.com>
Sun, 17 Aug 2014 00:14:57 +0000 (02:14 +0200)
tools/font-generator.py

index 265e9f7..ea95e38 100755 (executable)
@@ -138,7 +138,7 @@ if __name__ == "__main__":
         generator.font_family = args.font
 
     if args.letters is not None:
-        generator.letters = args.letters
+        generator.letters = args.letters.decode('utf8')
 
     if args.columns is not None:
         generator.columns = args.columns