launcher/http/src/main/java/org/apidesign/bck2brwsr/launcher/Bck2BrwsrLauncher.java
changeset 1081 47687dce809a
parent 1076 892dcb178737
child 1088 4b65abc39565
     1.1 --- a/launcher/http/src/main/java/org/apidesign/bck2brwsr/launcher/Bck2BrwsrLauncher.java	Sun May 05 18:16:43 2013 +0200
     1.2 +++ b/launcher/http/src/main/java/org/apidesign/bck2brwsr/launcher/Bck2BrwsrLauncher.java	Tue May 07 16:16:21 2013 +0200
     1.3 @@ -208,9 +208,6 @@
     1.4              public void service(Request request, Response response) throws Exception {
     1.5                  String id = request.getParameter("request");
     1.6                  String value = request.getParameter("result");
     1.7 -                if (value != null && value.indexOf((char)0xC5) != -1) {
     1.8 -                    value = toUTF8(value);
     1.9 -                }
    1.10                  
    1.11                  
    1.12                  InvocationContext mi = null;
    1.13 @@ -376,13 +373,6 @@
    1.14              return new Object[] { process, null };
    1.15          }
    1.16      }
    1.17 -    private static String toUTF8(String value) throws UnsupportedEncodingException {
    1.18 -        byte[] arr = new byte[value.length()];
    1.19 -        for (int i = 0; i < arr.length; i++) {
    1.20 -            arr[i] = (byte)value.charAt(i);
    1.21 -        }
    1.22 -        return new String(arr, "UTF-8");
    1.23 -    }
    1.24      
    1.25      private static String decodeURL(String s) {
    1.26          for (;;) {