java - GWT arabic rendering -
i have problem sidebar items when set item text arabic text output looks ������� , not rendered
lielement item1=new sidebaritem().addsidebaritem("fa fa-fw fa-dashboard","العملاء","index.html");//here problem sidebar.appendchild(item1); sidebar.appendchild(new sidebaritem().addsidebaritem("fa fa-fw fa-bar-chart-o","charts","charts.html")); sidebar.appendchild(new sidebaritem().addsidebaritem("fa fa-fw fa-table","tables","tables.html"));
this function use
public lielement addsidebaritem(string icon, string text,string target){ anc.setinnerhtml("<i class=\"" + icon + "\"></i> " + text); anc.settarget(target); return sidebarlistitem; }
so how set inner text of element or widget arabic string example settitle("عربي");
i had change format in eclipse saves it's source files link helped me gwt: character encoding umlauts
Comments
Post a Comment