accentuated letter problam

Hi,

I would like to work with accentuated letters, but i do not know how can i?
It means:

I have a world, for examle: ÁLMOS.
The first letter is not in the English ABC. A would like to change Á to A.
But when I write the condition like this:

If (array[0]=='Á')
{
array[0]='A';
}
It doesn't work.

Has anybody any idea how can i solve this problem?

THX
You need to work with wide characters to be on the safe side. Instead of using char, use wchar_t; instead of using std::string, use std::wstring, etc.

Then you must also use a compiler that understands Unicode source files so you can write your literals. Finally just compile.

I only ever use Visual Studio, and Visual Studio complies with all this.
Topic archived. No new replies allowed.