Issues

Issue #88 resolved

love.graphics.print() crashes if string contains extended ascii

Boolsheet
created an issue

{{{ LÖVE crashes if a string, containing high (bigger than 127) bytes, is passed to love.graphics.print:

}}} {{{

!lua

love.draw() love.graphics.print("\246", 10, 10) end }}} {{{

"\182" works though.

Happened to me on XP and Ubuntu 10.10 with the x86 0.7.0-beta. It was mentioned on IRC that the local charset could be an issue, but the Ubuntu charset is set to en_US.utf8. }}}

Comments (14)

  1. Bill Meltsner

    No, it means you can print extended ASCII - characters with codepoints up to 255 (assuming the font you're using has glyphs for them.)

    Full Unicode support is a far more daunting task.

  2. Log in to comment