Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Jul 1st, 2012  |  syntax: None  |  size: 0.29 KB  |  hits: 21  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. is there any way to decode string? [closed]
  2. import org.apache.commons.lang.StringEscapeUtils;
  3.  
  4. public class Test {
  5.     public static void main(String[] args) {
  6.         String str = "äså";
  7.         System.out.println(StringEscapeUtils.unescapeHtml(str)); // prints äså
  8.     }
  9. }