I just realized that "\xa0" fails because it is not UTF-8, but Latin-1.
Using "\xc2\xa0" (UTF-8 encoded non-breaking space) works flawlessly in the 
examples above.

This issue can be closed as invalid.

** Changed in: rust-coreutils (Ubuntu)
       Status: New => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2132941

Title:
  env: Rust unwrap with UTF-8 symbols in environment variables

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/rust-coreutils/+bug/2132941/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to