Home » U++ TheIDE » U++ TheIDE: Compiling, Linking, Debugging of your packages » Console encoding for localized compilers
Console encoding for localized compilers [message #23825] |
Wed, 25 November 2009 04:48 |
Shire
Messages: 41 Registered: September 2006 Location: Russia, Yamal peninsula
|
Member |
|
|
Not so far Microsoft released Russian version of Visual Studio.
All compiler messages are in russian, and shows as spaces in TheIDE console window.
ide/Console.cpp:
int Console::Flush():
...
> slot.process->Read(s);
> if(!IsNull(s)) {
> done_output = true;
+#ifdef PLATFORM_WIN32
+ s = FromSystemCharset(s);
+#endif
...
This fix can resolve problem, but side effects can appear.
And other localized tools (non-Microsoft, CP866-based) may require FromOEMCharset() function instead.
|
|
|
Goto Forum:
Current Time: Sun May 05 02:47:21 CEST 2024
Total time taken to generate the page: 0.02640 seconds
|