should this maybe be `get_option('display.encoding')`?