From 9d72e78ccd98ca60662c252fc9f89d0349eaf3a8 Mon Sep 17 00:00:00 2001 From: Emanuele Giaquinta Date: Tue, 6 Feb 2007 23:06:14 +0000 Subject: Revert perl utf8 stuff for now. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4412 dbcabf3a-b0e7-0310-adc4-f8d773084564 --- src/perl/common/Settings.xs | 3 --- src/perl/textui/TextBuffer.xs | 3 --- 2 files changed, 6 deletions(-) (limited to 'src/perl') diff --git a/src/perl/common/Settings.xs b/src/perl/common/Settings.xs index a9bdd11d..dc5507cf 100644 --- a/src/perl/common/Settings.xs +++ b/src/perl/common/Settings.xs @@ -1,6 +1,5 @@ #include "module.h" #include "misc.h" -#include "recode.h" static GHashTable *perl_settings; @@ -77,8 +76,6 @@ PREINIT: CODE: str = settings_get_str(key); RETVAL = new_pv(str); - if (is_utf8()) - SvUTF8_on(RETVAL); OUTPUT: RETVAL diff --git a/src/perl/textui/TextBuffer.xs b/src/perl/textui/TextBuffer.xs index 91a77a80..31e7c491 100644 --- a/src/perl/textui/TextBuffer.xs +++ b/src/perl/textui/TextBuffer.xs @@ -1,5 +1,4 @@ #include "module.h" -#include "recode.h" MODULE = Irssi::TextUI::TextBuffer PACKAGE = Irssi PROTOTYPES: ENABLE @@ -81,8 +80,6 @@ PPCODE: str = g_string_new(NULL); textbuffer_line2text(line, coloring, str); result = new_pv(str->str); - if (is_utf8()) - SvUTF8_on(result); XPUSHs(sv_2mortal(result)); g_string_free(str, TRUE); -- cgit v1.2.3