Linux

Character set display issue on Raspberry Pi ssh terminal using putty


Scenario: when connecting to Raspberry Pi using putty ssh terminal over default configuration, some output includes show strange characters (garbage characters) instead of the proper line drawing.

System:

Raspberry Pi

pi@raspberrypi ~ $ lsb_release -a
No LSB modules are available.
Distributor ID: Raspbian
Description:    Raspbian GNU/Linux 8.0 (jessie)
Release:        8.0
Codename:       Jessie

Putty

putty-version

Output issues:

for example using the command “tree” on default putty configuration while connected with Raspberry Pi gives the following output:

tree

Broken Output:

strange character on putty output instead of line with raspberry pi

Fix strange (garbage) character output  on putty with raspberry Pi with putty:

on the putty configuration setting for your Raspberry Pi connectivity make the following changes

Default setting: Putty Configuration -> Window -> Translation -> Remote character set: ISO-8859-1(Latin-1, West Europe)

putty setting fix strange character raspberry pi broken
Default setting: Putty Configuration -> Window -> Translation -> Remote character set: ISO-8859-1(Latin-1, West Europe)

Change it to: Putty Configuration -> Window -> Translation -> Remote character set: UTF-8

Putty setting fix strange character raspberry pi fixed
Default setting: Putty Configuration -> Window -> Translation -> Remote character set: UTF-8

Check

tree

Fixed Output:

fixed strange characters-instead-of-the proper line drawing putty raspberry pi

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s