docs: public static String toUnicodeLiteral(String s) {
  
          StringBuffer result = new StringBuffer();
          char[] carr = s.toCharArray();
  
          String unicode;
          for (int i = 0; i < carr.length; i++) {
              result.append("\\u");
              // append leading zeros
              unicode = Integer.toHexString(carr[i]).toUpperCase();
              for (int j = 4 - unicode.length(); j > 0; j--) {
                  result.append("0");
              }
              result.append(unicode);
          }
          return result.toString();
      }