Convert Doom ASCII strings to UTF-8 internally.
Make use of size_t and const function arguments.
Replace a string write with the right util function.