You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Error at startup with LANG set to en_US.ISO-8859-1 #145
On MacOS 26
durdraw 0.30.1 installed from brew
LANG is set to "en_US.ISO-8859-1" instead of "en_US.UTF-8"
also tried with --cp437
error at startup:
Traceback (most recent call last):
File "/opt/homebrew/bin/durdraw", line 6, in <module>
sys.exit(main())
~~~~^^
File "/opt/homebrew/Cellar/durdraw/0.30.1/libexec/lib/python3.14/site-packages/durdraw/log.py", line 179, in inner
raise e
File "/opt/homebrew/Cellar/durdraw/0.30.1/libexec/lib/python3.14/site-packages/durdraw/log.py", line 172, in inner
return func(*args, **kwargs)
File "/opt/homebrew/Cellar/durdraw/0.30.1/libexec/lib/python3.14/site-packages/durdraw/main.py", line 248, in main
ui = UI_Curses(app)
File "/opt/homebrew/Cellar/durdraw/0.30.1/libexec/lib/python3.14/site-packages/durdraw/durdraw_ui_curses.py", line 79, in __init__
locale.setlocale(locale.LC_ALL, '') # set your locale
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
File "/opt/homebrew/Cellar/[email protected]/3.14.7/Frameworks/Python.framework/Versions/3.14/lib/python3.14/locale.py", line 614, in setlocale
return _setlocale(category, locale)
locale.Error: unsupported locale setting
Similar to the other issue... supporting non-Utf-8 terminals is a fine feature request. Crashing ungracefully on other terminal encoding types, is a bug.
Activity
cmang commentedon Sep 24, 2026
Similar to the other issue... supporting non-Utf-8 terminals is a fine feature request. Crashing ungracefully on other terminal encoding types, is a bug.