View Full Version : FC3 problem: gcc and umlauts in source code

23rd November 2004, 09:35 PM
Hello all!

I have a rather strange problem at work. We have a c++ program that resides in CVS and has German umlauts in the source code (strings, comments, etc). The files are ordinary iso8859-1 (latin1), no unicode.

Up to now (FC2) I was able to simply checkout the source and compile it.

In FC3 now gcc fails compilation with "invalid multibyte characters". Of course gcc is right, as the files are not UTF8.

Unsetting the LANG variable (or using "de_DE") does not help. I also tried to checkout the files with LANG="de_DE.UTF-8", but this did not change the source code either.

Anybody got an idea how I can force gcc to not try unicode, or get CVS to translate the files for me?

Thanks in advance,

23rd November 2004, 10:14 PM
Does this thread (http://www.mail-archive.com/linux-utf8@nl.linux.org/msg04762.html) help?

23rd November 2004, 10:25 PM
Ah, great, yes. That looks promising. I did not find this one today while Googeling ;)
Thanks, I will try it tomorrow (at work).

Kind regards,