might be a good chance to utilize `options.encoding`