A Lua code editor

Showcase your libraries, tools and other projects that help your fellow love users.
User avatar
pgimeno
Party member
Posts: 3550
Joined: Sun Oct 18, 2015 2:58 pm

Re: A Lua code editor

Post by pgimeno »

Giovifav wrote: Wed Jul 29, 2020 11:56 am My idea was to replace the utf8 char with a similar one ASCII compatible, for example ü become u, ã = a.
Well, that's not so easy, it needs a replacement table which every possible character to convert and the translation to ASCII.

Giovifav wrote: Wed Jul 29, 2020 11:56 am Off topic:
pgimeno I stumble across your code multiple times, I really like your work!
Thanks!
josip
Prole
Posts: 21
Joined: Tue Oct 03, 2017 1:55 pm

Re: A Lua code editor

Post by josip »

@zorg this editor is actively used in lövr, which is a different codebase from löve and doesn't currently include utf-8 library. I'll look into supporting utf-8 at some point.

Thanks for the hint @pgimeno. I'm going to use that line to sanitize the input.
Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 205 guests