Wayland: decode UTF-8 strings from clients (titles like 'Session Chooser — Kate' showed as mojibake)
CI / test (push) Failing after 38s
CI / test (push) Failing after 38s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
50442a7e30
commit
080377fd79
2 files changed
+46
-5
No files matched your search
@@ -0,0 +1,8 @@
|
||||
|
||||
///|
|
||||
test "WireReader::str decodes UTF-8" {
|
||||
let w = WireWriter::new()
|
||||
w.str("Session Chooser — Kate é😀")
|
||||
let r = WireReader::from_array(w.finish_msg(1U, 0U).to_array(), 8)
|
||||
inspect(r.str(), content="Session Chooser — Kate é😀")
|
||||
}
|
||||
Reference in new issue
Block a user