Marc Reichelt: c-ascii-tabelle?

Beitrag lesen

Hallo bleicher,

heißt es - man kann in einer C-Consolen-App keine Umlaute oder sonstige Zeichen "kontrolliert" nutzen?

Also bei mir unter Linux klappt das folgende super:

include <stdio.h>  
  
int main(void) {  
        printf("Hallo, oh du schöne Welt!\n");  
        return 0;  
}

Die C-Quelldatei ist UTF-8-kodiert, und die Shell auch. Dann macht das auch keine Probleme.

Grüße

Marc Reichelt || http://www.marcreichelt.de/

--
panic("Oh boy, that early out of memory?");
        linux-2.2.16/arch/mips/mm/init.c
Selfcode: ie:{ fl:| br:> va:} ls:< fo:} rl:( n4:( ss:) de:> js:| ch:? sh:| mo:) zu:)