I use the MinGW distribution to compile my c code in Windows. However
the enhanced ASCII set is compiled with codepage 437, I need to change
it to 850.
Do I have to recompile the MinGW Distribution?
If so, what do I need for that and what should I modify in the source
code to change the codepage?
Thanks for any hints...
From: Benjamin Riefenstahl <Benjamin.Riefenstahl@ep...> - 2002-11-15 12:59:39
> I use the MinGW distribution to compile my c code in
> Windows. However the enhanced ASCII set is compiled with codepage
> 437, I need to change it to 850.
Somebody else correct me if I am wrong, but I doubt that the compiler
does anything about the encoding of characters. The only thing in a
C/C++ compiler that has anything to do with this are the UCNs of C++
and the latest C version, i.e. strings of the form "\u00a0". Is that
what you are talking about?
The run-time library can have support for encodings, but Mingw doesn't
come with it's own run-time but uses Microsoft's instead, so if that
is really the bit that intersets you, you should direct your question
> If so, what do I need for that and what should I modify in the
> source code to change the codepage?
If you tell us what exactly your problem is, preferably with a short
program (less than 20 lines) for demonstration, we may be able to help
you. It almost certainly won't involve changing the compiler.
so long, benny