-
How do I get æ, ø and å?
When I run a program with the line:
cout << "Hvordan går det med deg?\n;"
("How are you", in Norwegian)
The 'å' won't show.. It shows up as "Hvordan gõr det med deg?"
How do I fix this? I'd be really happy if someone helped me with this. We're having a project at school. Usually I program in English, but I have to use Norwegian for this.
-
Registered User
Try
cout << cout << "Hvordan g" << (char) 0x86 << "r det med deg?\n";
-
i dunno, but ascii wouldnt work because thats the american standard. isnt there a norwegian standard? try to find a reference to that. google will always be there for you.
-
Registered User
(char) 0x86 == å, I don't see why it wouldn't work. ASCII is pretty much universal anyway, thats why characters like that and a whole bunch of others are built into the ASCII standard.
-
I don't know the answer to this question, but isn't that why Unicode was developed, to take care of these issues? Java uses Unicode, don't know how C++ implements it.
-
Thx guys! :)
You helped me a lot!! Thx =)
-
Where can I find the code for the individual characters? I know that 0x86 is å, and that 0x92 is æ and 0x93 is Æ.
What is ø and Ø and Å? Is there a list somewhere or something?
-
Registered User
Popular pages
Recent additions