Is there a secret to working with >7 bit characters in shoes? I tried this:
$text = "Replace me"
Shoes.app do
def me
stack do
para $text
e = edit_box
button "ok" do $text = e.text; clear {me} end
end
end
me
end
Typing some umlauted characters into the box, your good old ä's and ö's
and å's gives the error message
(shoes.exe:5672): Pango-WARNING **: Invalid UTF-8 string passed to
pango_layout_set_text()
and missing characters in the para. It seems the para wants UTF-8, but
the edit_box gives me ISO-LATIN-1.
// Niklas