mirror of
https://github.com/irssi/irssi.git
synced 2024-09-01 04:14:16 -04:00
Add support for utf8 to Irssi::settings_get_str.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4339 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
9fbe09f086
commit
714aa30b4e
@ -68,11 +68,12 @@ void perl_settings_deinit(void)
|
||||
MODULE = Irssi::Settings PACKAGE = Irssi
|
||||
PROTOTYPES: ENABLE
|
||||
|
||||
char *
|
||||
SV *
|
||||
settings_get_str(key)
|
||||
char *key
|
||||
CODE:
|
||||
RETVAL = (char *) settings_get_str(key);
|
||||
RETVAL = newSVpv(settings_get_str(key), 0);
|
||||
SvUTF8_on(RETVAL);
|
||||
OUTPUT:
|
||||
RETVAL
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user