Strange characters present in gcc compilation output message on console
If you set LC_LANG to something that ends in UTF8 but your terminal is having problems (or is not configured to handle) UTF8, then you run into trouble.
Either configure your terminal or set LC_LANG=en_GB.