var searchIndex = {}; searchIndex["cesu8"] = {"doc":"A simple library implementing the [CESU-8 compatibility encoding\nscheme](http://www.unicode.org/reports/tr26/tr26-2.html). This is a\nnon-standard variant of UTF-8 that is used internally by some systems\nthat need to represent UTF-16 data as 8-bit characters. Yes, this is\nugly.","items":[[3,"Cesu8DecodingError","cesu8","The CESU-8 data could not be decoded as valid UTF-8 data.",null,null],[5,"from_cesu8","","Convert CESU-8 data to a Rust string, re-encoding only if necessary.\nReturns an error if the data cannot be represented as valid UTF-8.",null,null],[5,"to_cesu8","","Convert a Rust `&str` to CESU-8 bytes.",null,{"inputs":[{"name":"str"}],"output":{"name":"cow"}}],[5,"is_valid_cesu8","","Check whether a Rust string contains valid CESU-8 data.",null,{"inputs":[{"name":"str"}],"output":{"name":"bool"}}],[11,"fmt","","",0,null],[11,"clone","","",0,null],[11,"description","","",0,null],[11,"cause","","",0,null],[11,"fmt","","",0,null]],"paths":[[3,"Cesu8DecodingError"]]}; initSearch(searchIndex);