0

Possible Duplicate:
Handling multibyte (non-ASCII) characters in C

Hi programmers, this is my first post here.d!

I recently started to learn C as my first programming language and now i thought i'd make a simple text-based game, and everything works fine except for one thing. When i compile my code, the command prompt where the program runs doesn't show letters like äöüõ , instead there are numbers and symbols where these letters should be. Is it possible to fix it and how ?

Community
  • 1
  • 1
stensootla
  • 12,797
  • 9
  • 40
  • 67
  • 4
    Set your terminal to the correct character set. – Brian Roach Feb 11 '12 at 18:04
  • What system, Windows, Linux, Mac OS, Unix? What editor do you use, a graphical one or text-based running in the terminal? Does the editor allow you to save with a specified character encoding? Which character encoding does the terminal use? What are the "symbols" that are shown in the terminal? And if you do `puts("\x80");` what does the output look like? – Mr Lister Feb 11 '12 at 18:07
  • @Wooble but we don't even know if this is a multibyte issue yet. For all we know this is just an 8-bit charset mismatch. – Mr Lister Feb 11 '12 at 18:09
  • If you're just starting out, stick to characters within the [ASCII range](http://en.wikipedia.org/wiki/ASCII) as a general tip. It will allow you to concentrate on learning the language,. – Samuel Harmer Feb 11 '12 at 18:13

0 Answers0