Fix mintty locale
Fix emacs terminal