Can't print certain characters.
Posted: Tue Jul 02, 2013 5:59 am
I'd like to print some unusual ascii characters, and using the standard font/print I get the following error: "graphics.lua:1265: Decoding error: Invalid UTF-8"
And if I set notepad++ to encode it UTF-8 so it can actually display the character: "graphics.lua:1273: Decoding error: Invalid UTF-8"
An example:
I'm not sure what it means exactly. Any ideas?
Edit: I Just noticed that if I do this line, it prints the █ no problem: That's kind of a hassle to do though versus alt+219. What's the difference?
And if I set notepad++ to encode it UTF-8 so it can actually display the character: "graphics.lua:1273: Decoding error: Invalid UTF-8"
An example:
Code: Select all
love.graphics.print( "█", 100, 100 )
Edit: I Just noticed that if I do this line, it prints the █ no problem:
Code: Select all
love.graphics.print( "â–ˆ", 100, 100 )