2021-02-07 21:03:53 +01:00
|
|
|
diff -uNr profanity-0.10.0/src/command/cmd_funcs.c profanity-0.10.0.mod/src/command/cmd_funcs.c
|
|
|
|
--- profanity-0.10.0/src/command/cmd_funcs.c 2021-01-08 15:35:03.000000000 +0000
|
|
|
|
+++ profanity-0.10.0.mod/src/command/cmd_funcs.c 2021-02-07 20:14:53.389297396 +0000
|
|
|
|
@@ -5151,7 +5151,7 @@
|
2016-09-17 01:44:12 +02:00
|
|
|
gboolean
|
2021-02-07 21:03:53 +01:00
|
|
|
cmd_charset(ProfWin* window, const char* const command, gchar** args)
|
2016-09-17 01:44:12 +02:00
|
|
|
{
|
2021-02-07 21:03:53 +01:00
|
|
|
- char* codeset = nl_langinfo(CODESET);
|
|
|
|
+ char* codeset = "UTF-8";
|
|
|
|
char* lang = getenv("LANG");
|
2016-09-17 01:44:12 +02:00
|
|
|
|
|
|
|
cons_show("Charset information:");
|