use the LANG variable to determine if we use utf8 (rather than fixing it to true by default as before)