Problem accent



I'm french and use the framework nuclex.
With the GUI manager you wrote:
Supports the Windows keyboard layout - on Windows, the GUI captures WM_CHAR, so the user's keyboard layout is respected (French users can type accents, East-Asian users can use their IME, etc.)

But in project, when i type "é" i've "?"


Cygon wrote Jan 14, 2013 at 7:35 AM

That's not an issue of the Nuclex Framework.

Please read the documentation for XNA's SpriteFont class. In your SpriteFont description (*.spritefont), you have to specify which characters get included in the bitmap atlas for the font.

By default, French accents are not included (just like Japanese kanji and Russian cyrillic script). There's also a parameter that specifies what character should be printed instead of missing ones, the default being "?".

ciclarion wrote Jan 14, 2013 at 12:36 PM

Sorry if it's not an issue.
I look the demo of nuclex, for the gui manager. But i don't found how use a specific spritefont when i wrote a labeltext, a button,... with the nuclex.userinteface library.
Sorry if i suck...

wrote Feb 21, 2013 at 11:26 PM