Avril112113 / Yodine

A project to emulate StarBase's data network system.
MIT License
10 stars 1 forks source link

Crash when writing Yolol : UTF-8 Not enough space #14

Open Aralicia opened 4 years ago

Aralicia commented 4 years ago

Description of Issue Yodine crashes when some UTF-8 characters are typed in the Yolol Editor. Those characters includes (tested) : ² é è à ° € ñ

Error Dump

Error

lfeditor.lua:123: UTF-8 decoding error: Not enough space

Traceback

[C]: in function 'getWidth' lfeditor.lua:123: in function 'draw' libs/loveframes/objects/base.lua:83: in function 'draw' libs/loveframes/objects/base.lua:83: in function 'draw' libs/loveframes/init.lua:193: in function 'draw' main.lua:137: in function 'draw' [C]: in function 'xpcall'

Avril112113 commented 4 years ago

This should be fixed in the coming UI Major update. I decided this is a bit more priority because it causes a crash.