diff options
Diffstat (limited to 'src/common/plugin.c')
-rw-r--r-- | src/common/plugin.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/plugin.c b/src/common/plugin.c index 5ef20de8..9a1efbec 100644 --- a/src/common/plugin.c +++ b/src/common/plugin.c @@ -979,7 +979,7 @@ hexchat_command (hexchat_plugin *ph, const char *command) } /* scripts/plugins continue to send non-UTF8... *sigh* */ - command_utf8 = text_invalid_encoding_to_utf8 (command, -1, "UTF-8", NULL); + command_utf8 = text_fixup_invalid_utf8 (command, -1, NULL); handle_command (ph->context, command_utf8, FALSE); g_free (command_utf8); } |