Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
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 Go to previous message
Shire is currently offline  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.
 
Read Message
Read Message
Previous Topic: creating DLLs HOWTO ??
Next Topic: Link error GCC32 on ubuntu 8.10 x64
Goto Forum:
  


Current Time: Sun May 05 02:47:21 CEST 2024

Total time taken to generate the page: 0.02640 seconds