doc: Method examples for String

Is it worth changing this wording to the one above? "This is unsafe because it does not check to ensure that the resulting string with be valid UTF-8" seems much more clear than 'violate the UTF-8 property'