weird characters in compiler warnings output

Tim Prince
Tue Aug 22 01:53:00 GMT 2006

Abarbanel, David (US SSA) wrote:
> I am running gcc v4.1.1 on linux 2.4 and was wondering why I am seeing weird characters around certain identifiers when warnings are printed.  Is this normal? See the example below:
> test.cpp: In function âint main()â:
> test.cpp:7: error: âcoutâ was not declared in this scope
> test.cpp:7: error: âendlâ was not declared in this scope
It's normal if you don't set the environment variable e.g.
export LANG=C

More information about the Gcc-help mailing list