utf8 in resoueses does not recognized
white-dragon opened this issue · 0 comments
white-dragon commented
for example:
URxvt.tabbedex.tabbar-timeouts: 0:⣿:2:⠿:4:⠛:6:⠉
patch is simple:
+++ tabbedex 2019-12-29 21:02:07.025578848 +0300
@@ -1452,6 +1452,7 @@
my ($rs, $name, $default) = @_;
my ($root, $extname, $prefix) = @$rs;
my $value = $root->x_resource("%.$name");
+ utf8::decode $value if defined $value;
if (defined $value || !defined $prefix ||
!defined($value = $root->x_resource("$prefix.$name"))) {
return $value // $default;