From 7be7963121ce4c1923fc5bff3b8edc7b14256540 Mon Sep 17 00:00:00 2001 From: Bert Gijsbers Date: Sat, 9 Nov 2024 22:27:24 +0100 Subject: [PATCH] Let icesh accept UTF-8 strings in properties. --- src/icesh.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/icesh.cc b/src/icesh.cc index 889777154..32a8ae689 100644 --- a/src/icesh.cc +++ b/src/icesh.cc @@ -743,7 +743,8 @@ class YStringProperty : public YProperty { substitute(copy, XA_STRING); } } - if (type() != XA_STRING && type() != kind) { + if (type() != XA_STRING && type() != kind && + type() != ATOM_UTF8_STRING) { substitute(nullptr, XA_STRING); } }