Trying out using locale per the curses documentation to prevent having to hardcode a particular encoding when opening a file.