[wayland][core] Use String::from_utf8_lossy.

When opening an image file, Firefox will set the window title to a
string that inculdes the image dimensions using what appears to be the
unicode multiplicaiton sign (code point 0x00d7). The specific encoding
supplied by Firefox does not appear to be valid UTF8.

Work around this by not panicing and simply truncating strings that are
not valid UTF8. PD-204 tracks finding a more proper solution here that
will allow us to move back to more strict UTF8 parsing.

Test: Opened image file in Firefox and observed no panic in the bridge.
Change-Id: I22f4f81d1865e98a9dfc317536fb3e9ab6199491
1 file changed
tree: e58a09c7daae38670726f050ac4ffcbe6166318f
  1. boards/
  2. build/
  3. buildtools/
  4. bundles/
  5. docs/
  6. examples/
  7. garnet/
  8. peridot/
  9. products/
  10. scripts/
  11. sdk/
  12. src/
  13. third_party/
  14. tools/
  15. zircon/
  16. .clang-format
  17. .dir-locals.el
  18. .gitattributes
  19. .gitignore
  20. .gn
  21. AUTHORS
  22. BUILD.gn
  23. CODE_OF_CONDUCT.md
  24. CONTRIBUTING.md
  25. LICENSE
  26. OWNERS
  27. PATENTS
  28. README.md
  29. rustfmt.toml
README.md

Fuchsia

Pink + Purple == Fuchsia (a new operating system)

What is Fuchsia?

Fuchsia is a modular, capability-based operating system. Fuchsia runs on modern 64-bit Intel and ARM processors.

Fuchsia is an open source project with a code of conduct that we expect everyone who interacts with the project to respect.

How can I build and run Fuchsia?

See Getting Started.

Where can I learn more about Fuchsia?

See the documentation.