Assuming that characters are read from a UTF-8 encoded source, perform conversions as necessary in the library.