Accents in the console on Windows using unicode build
Posted: Fri Aug 06, 2010 9:26 pm
I thought this would help, but it didn't: http://forums.wxwidgets.org/viewtopic.php?t=19525
I'm trying to output words with accents in the console on Windows, I've searched a lot but haven't found a solution for wxWidgets.
Here is my code:
It outputs: Bon appÚtit!
Is there something I don't do right?
Thanks!
I'm trying to output words with accents in the console on Windows, I've searched a lot but haven't found a solution for wxWidgets.
Here is my code:
Code: Select all
using namespace std;
#include <string>
#include <iostream>
#include "wx/string.h"
#include "wx/app.h"
int main(int argc, char **argv)
{
wxInitialize();
wxPuts(wxT("Bon appétit!"));
}
Is there something I don't do right?
Thanks!