User forums > Using Code::Blocks

Problems with umlaut in wxSmith

<< < (3/3)

geronet:
It's ok now, i converted the file to utf-8 with "iconv -f ISO-8859-1 -t UTF-8 main.cpp" and now i have to insert the character

--- Code: --- Textfield[i]->SetLabel(wxString::Format(_T("%.1f°C"), *(T[i].value)));
--- End code ---
and it displays correctly ;)

PS: The C:B Editor doesn't show the correct character, it is displayed like here (two bytes, one A with ^on it and a °), but C:B is compiled with unicode enabled?!

Ceniza:
Did you try Edit->File encoding->UTF-8?

geronet:
Ah, that's it :D

Didn't see that menu.. Thanks a lot.

Navigation

[0] Message Index

[*] Previous page

Go to full version