Help with PuTTY Terminal Settings – Unrecognized Characters

All we need is an easy explanation of the problem, so here it is.

I am running PuTTY on Windows 7/64-bit laptop. I am connecting to an Ubuntu 9.10/64-bit system running OpenSSH_5.1p1 Debian-6ubuntu2. When I am running some command, the output contains unrecognized characters, like this:

mod_helloworld.c:1: error: expected â)â before â*â token
mod_helloworld.c:28: error: expected â)â before â*â token
mod_helloworld.c:33: error: expected â=â, â,â, â;â, âasmâ or â__attribute__â before âAP_MODULE_DECLARE_DATAâ

However, when I run this command from a terminal directly on the Ubuntu system, the output is clear:

mod_helloworld.c:1: error: expected `)` before `*` token
mod_helloworld.c:28: error: expected `)` before `*` token
mod_helloworld.c:33: error: expected `=`, `,`, `;`, `asm` or `__attribute__` before `AP_MODULE_DECLARE_DATA`

So it appears to be the “back-tick” character causing the problem. Any idea how I can correct this via PuTTY settings?

Thanks,
-aj

How to solve :

I know you bored from this bug, So we are here to help you! Take a deep breath and look at the explanation of your problem. We have many solutions to this problem, But we recommend you to use the first method because it is tested & true method that will 100% work for you.

Method 1

PuTTY is interpreting the characters being sent by the terminal incorrectly.

You can change the character set under the Window category in the Translation settings. Change the Received data assumed to be in which character set: to the correct character set. UTF-8 worked for me.

alt text

Note: Use and implement method 1 because this method fully tested our system.
Thank you 🙂

All methods was sourced from stackoverflow.com or stackexchange.com, is licensed under cc by-sa 2.5, cc by-sa 3.0 and cc by-sa 4.0

Leave a Reply