session: suffix UTF-8 to locale

cc @ekmartin @heathervv
This commit is contained in:
Guillermo Rauch 2016-07-26 11:26:06 -07:00
parent 05b491f62c
commit 27b2cd718e

View file

@ -24,7 +24,7 @@ module.exports = class Session extends EventEmitter {
constructor ({ rows, cols: columns, cwd, shell }) {
super();
const baseEnv = Object.assign({}, process.env, {
LANG: app.getLocale().replace('-', '_'),
LANG: app.getLocale().replace('-', '_') + '.UTF-8',
TERM: 'xterm-256color',
TERM_PROGRAM: productName,
TERM_PROGRAM_VERSION: version