Posted: Tue Dec 18, 2007 7:51 am
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
http://www.purebasic.com
https://www.purebasic.fr/english/
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
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.
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!”