Categories | Question details Back To List | ||
How to save japanse Characters In Database from DHTML Grid How to Save the Japanese Character from Grid to Database When I Load the Grid, the grid displays the Japanese characters... When I edit one Cell and Enter the Japanese Characters and click the save Button... The data is displayed as null. Here is my coding <%@ page language="java" contentType="text/xml; charset=utf-8" pageEncoding="utf-8" %> % String mode=(String) request.getParameter("!nativeeditor_status"); System.out.println("modeStatus"+mode); if (mode==null) mode="update"; else if (mode.equals("deleted")) mode="delete"; else if (mode.equals("inserted")) mode="insert"; else mode="update"; ArrayList objArray = Tasks.dynamicColumn(request); StringBuffer sb=new StringBuffer(); String parentId=(String) request.getParameter("gr_id"); String[] columns; int arrSize = objArray.size(); columns = new String[arrSize]; //columns[0]=(String) request.getParameter("WBSNo"); for (int count=0;count<objArray.size();count++){ columns[count]=(String) request.getParameter(objArray.get(count).toString()); } Tasks.updateDB(request,response,parentId,parentId,columns,mode); %> I am using the JSP page for Saving with Dataprocessor... I am using UTF-8 format for Character set and page encoding Please Help me to Solve this problem ASAP Thanks and Regards Udhayabalachandar.C Answer posted by Support on Apr 07, 2008 10:10 Problem may be caused by dataprocessor.js , which may encode data not in required way, please check response at http://dhtmlx.com/docs/products/kb/index.shtml?cat=recent&q=2685 or contact us directly at support@dhtmlx.com to receive updated js file. |