Created
February 26, 2015 17:09
-
-
Save shaik2many/b238f1d1153b2b1be06f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
String folderNameDecoded = new String(folder_name.getBytes(Charset.forName("UTF-8")), Charset.forName("ISO-8859-1")); 4:59 PM | |
For textareas, you need to replace newline chars as follows: | |
response.getWriter().print(new FolderService().getFolderDocs(parent_id,project_id,business_id,false, 0).replaceAll("\n", "\\\\n")); | |
//struts.properties | |
struts.i18n.encoding=ISO-8859-1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment