Page 2 of 2

Posted: Tue Dec 18, 2007 7:51 am
by utopiomania
As I mentioned, you don't need Unicode for that particular example
Yes I do. If create unicode is not checked, the console won't print the string (the 'U') correctly.

Posted: Wed Dec 19, 2007 2:11 am
by superadnim
I refer to your specific example AND the purebasic routines, not the console.

But anyway, again NO:

Code: Select all

OpenConsole()
PrintN(Chr(220))
PrintN(Chr(252))
While Inkey() = ""
Wend
CloseConsole()
End
period?

Posted: Wed Dec 19, 2007 3:04 am
by pdwyer
superadnim wrote:
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... :lol:

.
Don't forget about "Viva perón"

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.
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 font

Posted: Wed Dec 19, 2007 3:02 pm
by Baslo
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.

Posted: Wed Dec 19, 2007 6:59 pm
by superadnim
Try and change the past suppressing the present.

Posted: Wed Dec 19, 2007 7:40 pm
by Trond
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!”

Posted: Thu Dec 20, 2007 10:34 am
by Baslo
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....