hi

i'm just writing a small program to convert a text document into an html-document and am having trouble with certain characters, for example the german umlaute (ä etc.).
i've written and saved the text file in UTF-8 and i've also written the programm in UTF-8. now gcc issues a warning when i try to compile it, that the umlaute ( in utf-8 form e.g. ä, ü etc.) are being regarded as multi-characters
int main()
int zeichen;
...
zeichen=getc(sourcefile);
...
if(zeichen=="ä")
external_void_with_putc("ä",...)
...
is my diagnosis correct, that gcc is probably trying to turn this into 7-bit ascii and therefore getting confused with the 'ä'? if so, how do i tell gcc to read a file as if it's UTF-8?
i do realise that this isn't a very critical problem, and what i'm trying to do is much more easily achieved using a short sed-program
hold