Hi Dridzt,
thanks so much for your reply and suggestion.
I imagined it was related to a multibyte problem but didnt know how to solve
Now I know it could be done with this library.
But because I am not so sure that the first char I get from a multibyte locale string means what I want I have adopted a mixed approach solution
For single byte locale string I use the normal string.sub , for multiibyte I prefer to provide (if any) a preset string in localization.lua.
Lua Code:
fort1 = string.sub(C_ChallengeMode.GetAffixInfo(10),1,1)
tyra1 = string.sub(C_ChallengeMode.GetAffixInfo(9),1,1)
if GetLocale() == "zhTW" then
fort1 = L["F"]
tyra1 = L["T"]
end
... bla bla
Btw thanks so much for your kind reply.