/trunk/src/org/tela_botanica/client/util/Util.java |
---|
625,4 → 625,12 |
} |
return lang; |
}-*/; |
public static native String utf8ToB64(String str) /*-{ |
return window.btoa(unescape(encodeURIComponent( str ))); |
}-*/; |
public static native String b64ToUtf8(String str) /*-{ |
return decodeURIComponent(escape(window.atob( str ))); |
}-*/; |
} |