Expand description

Utilities for working with Ruby Strings.

In Ruby, String is a Vec<u8> with an optional encoding. Strings default to UTF-8 encoding but this does not require the byte vector to contain valid UTF-8.

Artichoke aims to support ASCII, UTF-8, maybe UTF-8, and binary encodings.



Write a UTF-8 debug representation of a byte slice into the given writer.