How to print utf8 text "Klöße" out to console ?
How to print utf8 text "Klöße" out to console ?
How to do this in a way, which will be working on all supported operating systems?
			
			
									
									
						Re: How to print utf8 text "Klöße" out to console ?
Woks on Windows, does not work elsewhere ?
			
			
									
									Code: Select all
CompilerIf (#PB_Compiler_Unicode = 1)
 OpenConsole()
 Print("Klöße")
 Input()
 CloseConsole()
CompilerElse 
 CompilerError "Enable Unicode"
CompilerEndIf
"Have you tried turning it off and on again ?"
						Re: How to print utf8 text "Klöße" out to console ?
Thanks for this fillip!
			
			
									
									
						Re: How to print utf8 text "Klöße" out to console ?
If you don't want to use Unicode, you can use this for Windows:
			
			
									
									Code: Select all
OpenConsole()
text$ = "Klöße"
CharToOem_(@text$, @text$)
Print(text$)
Input()Blog: Why Does It Suck? (http://whydoesitsuck.com/)
"You can disagree with me as much as you want, but during this talk, by definition, anybody who disagrees is stupid and ugly."
- Linus Torvalds

