[HtmlUnit] SVN: [15458] trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/ WebRequest.java

rbri--- via HtmlUnit-develop <[email protected]> Fri, 13 Jul 2018 16:24:03 +0000
Newsgroups gmane.comp.java.htmlunit.devel
Message-ID <[email protected]>
Revision: 15458
          http://sourceforge.net/p/htmlunit/code/15458
Author:   rbri
Date:     2018-07-13 16:24:00 +0000 (Fri, 13 Jul 2018)
Log Message:
-----------
back to the old charset

Modified Paths:
--------------
    trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/WebRequest.java

Modified: trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/WebRequest.java
===================================================================
--- trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/WebRequest.java	2018-07-13 14:36:14 UTC (rev 15457)
+++ trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/WebRequest.java	2018-07-13 16:24:00 UTC (rev 15458)
@@ -14,7 +14,7 @@
  */
 package com.gargoylesoftware.htmlunit;
 
-import static java.nio.charset.StandardCharsets.UTF_8;
+import static java.nio.charset.StandardCharsets.ISO_8859_1;
 
 import java.io.IOException;
 import java.io.ObjectInputStream;
@@ -62,7 +62,7 @@
     private Map<String, String> additionalHeaders_ = new HashMap<>();
     private Credentials urlCredentials_;
     private Credentials credentials_;
-    private transient Charset charset_ = UTF_8;
+    private transient Charset charset_ = ISO_8859_1;
 
     /* These two are mutually exclusive; additionally, requestBody_ should only be set for POST requests. */
     private List<NameValuePair> requestParameters_ = Collections.emptyList();


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot