public final class UnicodeHelper extends Object
| Modifier and Type | Method and Description |
|---|---|
static String |
decodeString(String s)
Converts encoded \uxxxx to unicode chars and changes special
characters
(=: \t\r\n\f#!) to their original forms |
static String |
encodeString(String s,
boolean escapeSpace)
Converts unicodes to encoded \uxxxx and writes out any special
characters
(=: \t\r\n\f#!) with a preceding slash |
public static String encodeString(String s, boolean escapeSpace)
(=: \t\r\n\f#!) with a preceding slashs - String to encodeescapeSpace - whether to escape space or not? Copyright 2013 BMC Software, Inc.