Yes I do. If create unicode is not checked, the console won't print the string (the 'U') correctly.As I mentioned, you don't need Unicode for that particular example
How to lowercase a unicode character?
- utopiomania
- Addict
- Posts: 1655
- Joined: Tue May 10, 2005 10:00 pm
- Location: Norway
-
- Enthusiast
- Posts: 480
- Joined: Thu Jul 27, 2006 4:06 am
I refer to your specific example AND the purebasic routines, not the console.
But anyway, again NO:
period?
But anyway, again NO:
Code: Select all
OpenConsole()
PrintN(Chr(220))
PrintN(Chr(252))
While Inkey() = ""
Wend
CloseConsole()
End
This is not necessarily true. Characters over 127 ascii can appear differently on different systems based on regional settings and it's not just dependant on fontsuperadnim wrote:Don't forget about "Viva perón"mubinaktan wrote:utopiomania wrote:This works here if compiled to unicode:
Code: Select all
openConsole() s.s = "Deutschland ÜBER Alles" charLower_(@s) printN(s) s.s = "Deutschland ÜBER Alles" charUpper_(@s) printN(s) while inkey() = "" wend closeConsole() end
Oh, yeah, that worked! But a little explanation would be nice. What the hell "CharUpper_" and "CharLower_"? If they are built-in functions why don't the autocompletion recognize them?
P.S.: Is it forbidden to say "Deutschland über alles" in Germany? That's interesting... So it should be forbidden to say "God save the Queen" in United Kingdom, "Viva Espana" in Spain or "Gooooaaaaal !!!" in Brazil...
.
As I mentioned, you don't need Unicode for that particular example, and Trond also affirmed it, because it's an ascii character. debug from 0 to 255 and you'll see all the characters ascii supports.
The Win-API calls are OK, as long as you don't plan to port your code into Linux / MacOS.
Paul Dwyer
“In nature, it’s not the strongest nor the most intelligent who survives. It’s the most adaptable to change” - Charles Darwin
“If you can't explain it to a six-year old you really don't understand it yourself.” - Albert Einstein
“In nature, it’s not the strongest nor the most intelligent who survives. It’s the most adaptable to change” - Charles Darwin
“If you can't explain it to a six-year old you really don't understand it yourself.” - Albert Einstein
-
- Enthusiast
- Posts: 480
- Joined: Thu Jul 27, 2006 4:06 am
It's neither forbidden nor current nor "ünicode".
Baslo wrote:To make it clear:
It is forbidden to sing THIS part of the german anthem. I'm not german, but i live in germany. Translated: "Germany Above All...." and this correlates pretty much with the ideology of "Supreme Race" and so on .... "brown stuff" as the germans nowadays call it.
http://facetroughgemstones.com/wikipedia/da/Das_Lied_der_Deutschen.html wrote:The first two stanzas are not actually forbidden, but they are never sung on official occasions.
http://david.national-anthems.net/de.htm wrote:Contrary to popular belief, no stanza is currently forbidden to be sung, however, only the third stanza is the official national anthem.
http://archives.tcm.ie/irishexaminer/2007/02/20/story25880.asp wrote:When east and west were united in 1990, it was agreed that in future, the third verse of Deutschland Uber Alles would be the official anthem of the reunified country. So, while Germany Above All hasn’t been forbidden, these are the official words now:
“Unity and Right and Freedom for the German Fatherland!
After these let us all strive brotherly with heart and hand!”
Honestly, i didnt know that, but well thats only on the paper.
On Demonstrations (happens quite often here in Berlin) the police just waits for the nazis to start singing this part so they can arrest them. So maybe you cant be punished explicitly for the singing, but for other reasons that relate to this.
Anyways, Nazis suck and back to topic....
On Demonstrations (happens quite often here in Berlin) the police just waits for the nazis to start singing this part so they can arrest them. So maybe you cant be punished explicitly for the singing, but for other reasons that relate to this.
Anyways, Nazis suck and back to topic....