Kui_Stanzilla

Kui_Stanzilla

15.4k Downloads

Target name... broken?

zkekahs2 opened this issue · 2 comments

commented

오류

Hello I am a user playing in Korea

An error occurred while using the target name function.

Only targets with spaces are having problems.

Can you ask for an amendment?


ㅁ...name

commented

Oh hrm, looks like the shortening function is failing on unicode, I'll take a look!

commented

Oh hrm, looks like the shortening function is failing on unicode, I'll take a look!

Thanks for letting me know it's a Unicode issue.
I solved it through search
https://www.wowinterface.com/forums/showthread.php?t=46497

Change code
kui.target-name.lua 27line

unitName = unitName:gsub("(%S+) ",function(t) return t:sub(1,1).."." end)

unitName = unitName:gsub("(.[\128-\191]*)%S+%s","%1.")