Tasharen Entertainment Forum
Support => NGUI 3 Support => Topic started by: atrainedmonkey on August 28, 2015, 10:37:51 AM
-
Hi,
We've been having issues with Thai languages in our game, as localisation comes back with whole sentences with no breaks.
We need line breaks to be calculated dynamically, so we can't manually inject spaces.
Instead we have the localisation team indicate where the lines can be broken with a token character, and then we substitute this with the Zero Width Space character:
http://www.fileformat.info/info/unicode/char/200B/index.htm
I thought this might be a bug, and not by design as the function NGUIText.IsSpace() recognises this character.
So I've added a patch file with our changes in-case this is a valid fix that could be applied to NGUI eventually.
-
Thanks, I'll add your change.