Thứ Năm, 17 tháng 3, 2011

FCKEditor config in JSP

FCKConfig.ProcessHTMLEntities = false ;
FCKConfig.IncludeLatinEntities = true ;
FCKConfig.IncludeGreekEntities = true ;

Copy "fckeditor.properties" in WEB-INF\classes from sample war file to WEB-INF\classes in your app.

Set charset to utf-8 in jsp file

<%
request.setCharacterEncoding("UTF-8");
%>

Không có nhận xét nào: