{"action":"created","issue":{"url":"https://api.github.com/repos/okamstudio/godot/issues/982","labels_url":"https://api.github.com/repos/okamstudio/godot/issues/982/labels{/name}","comments_url":"https://api.github.com/repos/okamstudio/godot/issues/982/comments","events_url":"https://api.github.com/repos/okamstudio/godot/issues/982/events","html_url":"https://github.com/okamstudio/godot/issues/982","id":52201528,"number":982,"title":"Support Unicode characters ","user":{"login":"xsoh","id":871079,"avatar_url":"https://avatars.githubusercontent.com/u/871079?v=3","gravatar_id":"","url":"https://api.github.com/users/xsoh","html_url":"https://github.com/xsoh","followers_url":"https://api.github.com/users/xsoh/followers","following_url":"https://api.github.com/users/xsoh/following{/other_user}","gists_url":"https://api.github.com/users/xsoh/gists{/gist_id}","starred_url":"https://api.github.com/users/xsoh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xsoh/subscriptions","organizations_url":"https://api.github.com/users/xsoh/orgs","repos_url":"https://api.github.com/users/xsoh/repos","events_url":"https://api.github.com/users/xsoh/events{/privacy}","received_events_url":"https://api.github.com/users/xsoh/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":36,"created_at":"2014-12-17T04:53:44Z","updated_at":"2015-03-22T00:19:00Z","closed_at":null,"body":"The editor doesn't recognize the non-latin characters (it writes nothing) even with changing the font of the editor. Also trying to paste a word of non-latin will print the Unicode representation (e.g. \\u2320\\u3433...etc) not the real word (e.g. سلام)."},"comment":{"url":"https://api.github.com/repos/okamstudio/godot/issues/comments/84479208","html_url":"https://github.com/okamstudio/godot/issues/982#issuecomment-84479208","issue_url":"https://api.github.com/repos/okamstudio/godot/issues/982","id":84479208,"user":{"login":"mohaalak","id":891975,"avatar_url":"https://avatars.githubusercontent.com/u/891975?v=3","gravatar_id":"","url":"https://api.github.com/users/mohaalak","html_url":"https://github.com/mohaalak","followers_url":"https://api.github.com/users/mohaalak/followers","following_url":"https://api.github.com/users/mohaalak/following{/other_user}","gists_url":"https://api.github.com/users/mohaalak/gists{/gist_id}","starred_url":"https://api.github.com/users/mohaalak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mohaalak/subscriptions","organizations_url":"https://api.github.com/users/mohaalak/orgs","repos_url":"https://api.github.com/users/mohaalak/repos","events_url":"https://api.github.com/users/mohaalak/events{/privacy}","received_events_url":"https://api.github.com/users/mohaalak/received_events","type":"User","site_admin":false},"created_at":"2015-03-22T00:19:00Z","updated_at":"2015-03-22T00:19:00Z","body":"yeah we need that function in String , in my implementation of fribidi in Godot I created a class with a static function , but you are right it should be in String.\r\nI think we should add another string for label  , button and other control , a string variable that what client can see , and an original text.\r\n1. you want to call normalize just one time when set_text called\r\n2. when a text is normalized if you call normalize again it generates some nonesense ( that was the case in Fribidi , I don't know maybe it was a bug from Fribidi)\r\n3. sometimes the length of strings will change , when user remove one character you should have remove from originalText then update VisualText\r\n4. when get_text called you should return the original text \r\n\r\nlook at my changes in (line_edit)[https://github.com/mohaalak/godot/blob/fd92a754f66132447617da9504be22c547a8fdbb/scene/gui/line_edit.cpp#L330] \r\n(sorry for bad indenting)\r\n\r\nalso in  _notifiacation, drop_selected , _input_event.\r\n "}}