Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Topics - jixleimo

#1
I Meet A Questing
First,i install a chinese font to AGS
then When I Input A Chinese Word "你好"(That Means "Hello") In AGS's Script Editor,then click the right mouse,The AGS show:
-------------------------------------------------------------------------------------------------------------------
Error: Index and length must refer to a location within the string.
Parameter name: length
System.ArgumentOutOfRangeException: Index and length must refer to a location within the string.
Parameter name: length
   at System.String.InternalSubStringWithChecks(Int32 startIndex, Int32 length, Boolean fAlwaysCopy)
   at AGS.Editor.ScintillaWrapper.InsideStringOrComment(Boolean charJustAdded, Int32 position)
   at AGS.Editor.ScriptEditor.scintilla_ConstructContextMenu(ContextMenuStrip menuStrip, Int32 clickedPositionInDocument)
   at AGS.Editor.ScintillaWrapper.ScintillaWrapper_MouseUp(Object sender, MouseEventArgs e)
   at System.Windows.Forms.Control.OnMouseUp(MouseEventArgs e)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at Scintilla.ScintillaControl.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
-------------------------------------------------------------------------------------------------------------------
and still i can run the game,and Ego say the word:"  !'
and when i use translation.trs to display it ,it respond a lots of mess Symbol too

it must be the problem that the AGS's Script Editor can't encode the chinese word into it's system.string function and process it correctly...

How Can I Fix This Question? or are there any way to display a chinese word?

thanks to all.^_^
SMF spam blocked by CleanTalk