User forums > Using Code::Blocks
German umlauts in MessageBox
Newling:
The build log is:
--- Code: ----------------- Erstellen: Release in test1 (compiler: GNU GCC Compiler)---------------
g++.exe -Wall -O2 -O1 -finput-charset=iso-8859-1 -c "C:\Dokumente und Einstellungen\User\Desktop\test1\main.cpp" -o obj\Release\main.o
c++.exe -o bin\Release\test1.exe obj\Release\main.o obj\Release\resource.res -s -lgdi32 -luser32 -lkernel32 -mwindows
Output file is bin\Release\test1.exe with size 10,00 KB
Process terminated with status 0 (0 minute(s), 0 second(s))
0 error(s), 0 warning(s) (0 minute(s), 0 second(s))
--- End code ---
When I run the three lines in the console I get the exe with the same error:
--- Code: ---g++.exe -Wall -O2 -O1 -finput-charset=iso-8859-1 -c "C:\Dokumente und Einstellungen\User\Desktop\test1\main.cpp" -o obj\Release\main.o
windres.exe -J rc -O coff -i C:\DOKUME~1\User\Desktop\test1\resource.rc -o obj\Release\resource.res
c++.exe -o bin\Release\test1.exe obj\Release\main.o obj\Release\resource.res -s -lgdi32 -luser32 -lkernel32 -mwindows
--- End code ---
"äöüÄÖÜ?ß" => "äöüÄÖÜ?ß"
BlueHazzard:
sry, i think it was to late last night...
I would try L"äöü" and use unicode not aschii...
Newling:
Thanks for your help!
The reason was that in
Settings->Compiler->Other Optptions
the entry -finput-charset=iso-8859-1 was included.
Now it seems to work.
Jenna:
--- Quote from: Newling on November 06, 2013, 08:02:16 am ---Thanks for your help!
The reason was that in
Settings->Compiler->Other Optptions
the entry -finput-charset=iso-8859-1 was included.
Now it seems to work.
--- End quote ---
So it turns out to be a user (configuration) error and not a Code::Blocks error !
Newling:
Yes, it was a setting issue.
Navigation
[0] Message Index
[*] Previous page
Go to full version