ALProdhani
Members-
Content count
3 -
Joined
-
Last visited
About ALProdhani
-
Rank
Forum Newbie
-
FusionChart not Display Arabic
ALProdhani replied to srividya_sharma's topic in FusionCharts and JSP
<code> ServletOutputStream out=response.getOutputStream(); out.write( new byte[]{(byte)0xEF, (byte)0xBB, (byte)0xBF});OutputStreamWriter streamWriter= new OutputStreamWriter(out, "UTF-8");streamWriter.write(xml _of_Chart); streamWriter.flush(); out.flush(); </code> Thanks A Lot. Its working........ -
FusionChart not Display Arabic
ALProdhani replied to srividya_sharma's topic in FusionCharts and JSP
<code> ServletOutputStream out=response.getOutputStream(); OutputStreamWriter streamWriter= new OutputStreamWriter(out, "UTF-8");streamWriter.write(0xEF);streamWriter.write(0xBB);streamWriter.write(0xBF); streamWriter.write(xmlChart);//xmlChart is string of xml streamWriter.flush(); out.flush(); </code> Still junk values on the chart showing in the Eclipse platform. Pl help me??? -
FusionChart working with Arabic properly in development.When i make war file and put it to Tomcat webApps.After startting tomcat, FusoinChart displaying junk value like ????. Can any1 is there to help me out? Process: 1.Making xml file from DB and sending as a string. 2.setting ContentType As [text/xml; charset=UTF-8] String xmlChart = string of xml file. ServletOutputStream str = response.getOutputStream(); str.write(new byte[]{(byte)0xEF, (byte)0xBB, (byte)0xBF}); str.write(xmlChart.getBytes()); str.flush(); working properly in Eclipse environment.