Files
rust/src/libstd
Kevin Ballard b0b89a57d5 Add new function str::from_utf8_lossy()
from_utf8_lossy() takes a byte vector and produces a ~str, converting
any invalid UTF-8 sequence into the U+FFFD REPLACEMENT CHARACTER.

The replacement follows the guidelines in §5.22 Best Practice for U+FFFD
Substitution from the Unicode Standard (Version 6.2)[1], which also
matches the WHATWG rules for utf-8 decoding[2].

[1]: http://www.unicode.org/versions/Unicode6.2.0/ch05.pdf
[2]: http://encoding.spec.whatwg.org/#utf-8
2014-02-06 23:44:26 -08:00
..
2014-02-04 00:06:08 -08:00
2014-02-03 09:32:33 -08:00
2014-01-31 21:43:07 -08:00
2014-01-31 21:43:07 -08:00
2014-02-01 18:24:44 -05:00
2014-01-07 18:49:13 -08:00
2014-02-04 00:15:27 +01:00
2014-01-07 18:49:13 -08:00
2014-01-09 15:41:46 +11:00
2014-02-02 02:58:57 +11:00
2014-02-03 09:32:33 -08:00
2014-02-03 09:32:33 -08:00
2014-02-03 09:32:33 -08:00
2014-01-21 22:00:18 +11:00
2014-02-04 00:06:08 -08:00
2014-02-04 00:06:08 -08:00
2014-02-03 09:32:33 -08:00
2014-02-03 09:32:34 -08:00
2014-02-06 23:44:26 -08:00
2014-02-04 00:15:27 +01:00
2014-02-03 09:32:33 -08:00
2014-01-25 21:38:25 +13:00
2013-12-08 02:55:28 -05:00