mozilla/rust — pull request #3803 by tychosci (2012-10-18 14:37:09+00:00)
Title: Make some string operations UTF-8 safe

Currently `run::program_output` and `rustdoc` may fail at the assertion `str::is_utf8(vv)` due to the partial read of multi-byte character.
Fixed that issue by reading whole input first and then converting it to `~str`.