Jakosa/LuaInterface

Latest version is working with Ukrainian Cyrillic characters but it is giving invalid output for function gsub()

Opened this issue · 0 comments

Hi,

I am working on a .NET Windows form application where we are using Lua scripting as well and for that I was using LuaInterface library which was not giving valid output with Cyrillic characters. But then used LuaInterface from this repository and worked with these characters as well.

But one case I noticed so far is that it is returning output with some character missing. In my case in online Lua compiler it is giving correct output. See below image:
Luaainterface_IssueWith_gsub_function

But when I execute the function with this LuaInterface library it giving output as below:
image

You see it is removing T character along with quotation marks.

Can anyone guide how can I fix this issue? I tried many other solutions but none worked for me so any help will greatly be appreciated.

Thanks.