auto-fallback to UTF-8 locale when MB_CUR_MAX exceeds limit #86
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Currently, when
MB_CUR_MAXexceedsPROF_MB_CUR_MAX, we show an error and disable the input window. The user must manually runexport LC_ALL=C.UTF-8before starting profanity.Proposal
Automatically attempt to switch to a safe UTF-8 locale at runtime and notify the user.
Implementation
Benefits
Considerations
setlocale()affects the entire process — document thisDependencies
cons_show_warn()implementation)