@@ -0,0 +1,1505 @@
+import com.eduworks.cruncher.net.CruncherHttpGet;%0D%0Aimport com.eduworks.lang.EwHashMap;%0D%0Aimport com.eduworks.lang.json.impl.EwJsonObject;%0D%0Aimport com.eduworks.lang.util.EwJson;%0D%0Aimport com.eduworks.resolver.Context;%0D%0Aimport jdk.nashorn.internal.parser.JSONParser;%0D%0Aimport org.json.JSONException;%0D%0Aimport org.json.JSONObject;%0D%0Aimport org.junit.Test;%0D%0A%0D%0Aimport java.io.ByteArrayInputStream;%0D%0Aimport java.io.InputStream;%0D%0Aimport java.io.InputStreamReader;%0D%0Aimport java.nio.charset.Charset;%0D%0A%0D%0Apublic class CruncherHttpGetTest %7B%0D%0A    @Test%0D%0A    public void CruncherHttpGetTestUtf8() %7B%0D%0A        CruncherHttpGet c = new CruncherHttpGet();%0D%0A%0D%0A        c.build(%22obj%22, %22https://opensalt.net/ims/case/v1p0/CFPackages/c5fb3436-d7cb-11e8-824f-0242ac160002%22);%0D%0A%0D%0A        try %7B%0D%0A            EwJsonObject jo = (EwJsonObject) c.resolve(new Context(), new EwHashMap%3C%3E(), new EwHashMap%3C%3E());%0D%0A            System.out.println(System.getProperty(%22file.encoding%22));%0D%0A            System.out.println(Charset.defaultCharset().toString());%0D%0A            byte %5B%5D bArray = %7B'w'%7D;%0D%0A            InputStream is = new ByteArrayInputStream(bArray);%0D%0A            InputStreamReader reader = new InputStreamReader(is);%0D%0A            String defaultCharacterEncoding = reader.getEncoding();%0D%0A            System.out.println(defaultCharacterEncoding);%0D%0A            System.out.println(jo.getJSONArray(%22CFItems%22).getJSONObject(13).getString(%22fullStatement%22));%0D%0A        %7D catch (JSONException e) %7B%0D%0A            e.printStackTrace();%0D%0A        %7D%0D%0A    %7D%0D%0A%7D

Test for file encoding.