Modify login_location encoding. Sometimes the encoding is correct, while your ssh terminal have wrong output.