On a locale-less system, skip encoding/decoding prompts

This primarily affects Android, but I assume it can be reproduced on any system if you unset LC_ALL and all the other locale-related variables.