

mischief wrote:http://msdn.microsoft.com/en-us/library/ms684497(VS.85).aspx
http://opengroup.org/onlinepubs/0079087 ... har.h.html
http://www.physicsforums.com/showthread.php?t=207461
http://www.allegro.cc/forums/thread/597583
UTFG.

Goatboy wrote:Alright, so I am helping my friend learn C++ and Spanish at the same time, so I wrote a simple program (so he can review the source code) that quizzes him on his Spanish vocab. It reads a word at random from a list and he writes the translation. The problem, however, is that I when I try to read a foreign character, such as á or é, it either shows up as a question mark or or doesn't show up at all.
I have googled a lot of different strings, and read about UNICODE, UTF-8 and Latin 1, but nothing ever explains what to include in the source code.
Is there some header, namespace, or #define I need to include? Any help is appreciated.
While I wait for a response, I'm gonna be googling more.

centip3de wrote:Goatboy wrote:Alright, so I am helping my friend learn C++ and Spanish at the same time, so I wrote a simple program (so he can review the source code) that quizzes him on his Spanish vocab. It reads a word at random from a list and he writes the translation. The problem, however, is that I when I try to read a foreign character, such as á or é, it either shows up as a question mark or or doesn't show up at all.
I have googled a lot of different strings, and read about UNICODE, UTF-8 and Latin 1, but nothing ever explains what to include in the source code.
Is there some header, namespace, or #define I need to include? Any help is appreciated.
While I wait for a response, I'm gonna be googling more.
Wha?! Goatboy needs help??! ITS THE APOCALYPSE!!!!!


This was awhile ago, before he was mod IIRC.


Goatboy wrote:I think the 1,000-post mark is Addict.

Users browsing this forum: No registered users and 0 guests