termux-packages/packages/profanity/cmd_funcs.c.patch

12 lines
387 B
Diff

--- a/src/command/cmd_funcs.c 2022-03-31 15:36:52.247750896 +0530
+++ b/src/command/cmd_funcs.c 2022-03-31 15:40:14.387750819 +0530
@@ -5213,7 +5213,7 @@
gboolean
cmd_charset(ProfWin* window, const char* const command, gchar** args)
{
- char* codeset = nl_langinfo(CODESET);
+ char* codeset = "UTF-8";
char* lang = getenv("LANG");
cons_show("Charset information:");