This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
RE: Spanish single characters recognized as multi-character
- From: lrtaylor at micron dot com
- To: <sram at profc dot udec dot cl>, <gcc-help at gcc dot gnu dot org>
- Date: Wed, 15 Oct 2003 13:33:39 -0600
- Subject: RE: Spanish single characters recognized as multi-character
What happens if you use wprintf instead?
wprintf(L"%d - %c\n", 'ñ', 'ñ');
Although, I don't recall for sure whether the L goes before or after the string constant...
Cheers,
Lyle
-----Original Message-----
From: Salvador Ramirez [mailto:sram@profc.udec.cl]
--------
#include <stdio.h>
int main(void) {
printf("%d - %c\n", 'ñ', 'ñ');
}
--------
if I compile that program I get the following message warning from GCC:
warning: multi-character character constant