WeakAuras

WeakAuras

206M Downloads

Add UTF8 strings library

lorientalas opened this issue ยท 4 comments

commented

Is your feature request related to a problem? Please describe.
Many WAs truncates strings and for russian it works incorrect. Character become "square" due cutting in half by strsub.

Describe the solution you'd like
Include UTF8Lib by default(e.g. https://git.tukui.org/elvui/elvui/-/tree/development/ElvUI/Libraries/UTF8)

Describe alternatives you've considered

Additional context

commented

We already have a function to correctly cut a unicode string: WeakAuras.WA_Utf8Sub

Apart from that it's up to aura authors to do things correctly.

commented

We already have a function to correctly cut a unicode string: WeakAuras.WA_Utf8Sub

Apart from that it's up to aura authors to do things correctly.

What about WA_Utf8Len etc?

commented

strlenutf8

commented

strlenutf8

thx