Skip to content

Commit

Permalink
Let icesh accept UTF-8 strings in properties.
Browse files Browse the repository at this point in the history
  • Loading branch information
gijsbers committed Nov 9, 2024
1 parent 0da07f1 commit 7be7963
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/icesh.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}
Expand Down

0 comments on commit 7be7963

Please sign in to comment.