Skip to content

Instantly share code, notes, and snippets.

@Haosvit
Created May 3, 2016 16:37
Show Gist options
  • Save Haosvit/5da22d89d881b43f6a0e4354605764e1 to your computer and use it in GitHub Desktop.
Save Haosvit/5da22d89d881b43f6a0e4354605764e1 to your computer and use it in GitHub Desktop.
String searchContent = request.getParameter("searchContent");
searchContent = new String( searchContent.getBytes("ISO-8859-1"), "UTF-8");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment