[][src]Module artichoke_backend::string

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.

Structs

WriteError

Error type for escape_unicode.

Functions

escape_unicode

Write a UTF-8 representation of a (potentially) binary String.

format_int_into