Thread Tools Display Modes
Prev Previous Post   Next Post Next
02/12/19, 12:57 AM   #1
Rhyono
AddOn Author - Click to view addons
Join Date: Sep 2016
Posts: 659
[open] Character handling flaw

I haven't figured out what is special about it yet, but the "Latin small letter A with grave" (this guy: à) works fine in all text fields:

Lua Code:
  1. /script d('àààààààààààààààààààààààààà')



However, the second half of it gets treated as a space character which results in the code below splitting the string:

Lua Code:
  1. /script inStr = "1à1";for outStr in inStr:gmatch("%S+") do d(outStr) end



The lua website's demo, however, does not have this problem:

Lua Code:
  1. inStr = "1à1"
  2. for outStr in inStr:gmatch("%S+") do
  3.     print(outStr)
  4. end



I'm not sure how customized your lua implementation is, but do you fix issues like these?

Last edited by Dolby : 02/14/19 at 05:40 PM.
  Reply With Quote
 

ESOUI » Developer Discussions » Bug Reports » [open] Character handling flaw


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off