Hi,
I got ArgumentException: invalid utf-16 sequence at -1073752784 (missing surrogate tail) when utf-16 characters are used.
ArgumentException: invalid utf-16 sequence at -1073752784 (missing surrogate tail)
Parameter name: string
UIFont.CalculatePrintedSize (System.String text, Boolean encoding, SymbolStyle symbolStyle) (at Assets/NGUI/Scripts/UI/UIFont.cs:642)
UILabel.ProcessText () (at Assets/NGUI/Scripts/UI/UILabel.cs:507)
UILabel.get_relativeSize () (at Assets/NGUI/Scripts/UI/UILabel.cs:428)
UILabel.MakePositionPerfect () (at Assets/NGUI/Scripts/UI/UILabel.cs:545)
UILabel.OnFill (.BetterList`1 verts, .BetterList`1 uvs, .BetterList`1 cols) (at Assets/NGUI/Scripts/UI/UILabel.cs:636)
UIWidget.UpdateGeometry (.UIPanel p, UnityEngine.Matrix4x4& worldToPanel, Boolean parentMoved, Boolean generateNormals) (at Assets/NGUI/Scripts/Internal/UIWidget.cs:517)
UIPanel.UpdateWidgets () (at Assets/NGUI/Scripts/UI/UIPanel.cs:857)
UIPanel.LateUpdate () (at Assets/NGUI/Scripts/UI/UIPanel.cs:1013)
Does that mean utf-16 is not supported by NGUI? or is it a Unity Font issue?
Thanks