Issue #1394 - fix default character encoding for surefire testing
This commit is contained in:
parent
95feaa6198
commit
f293f637c8
|
@ -93,7 +93,8 @@ public class HttpClientURITest extends AbstractHttpClientServerTest
|
|||
public void testIDNRedirect() throws Exception
|
||||
{
|
||||
// Internationalized Domain Name.
|
||||
String exampleHost = scheme + "://пример.рф";
|
||||
// String exampleHost = scheme + "://пример.рф";
|
||||
String exampleHost = scheme + "://\uD0BF\uD180\uD0B8\uD0BC\uD0B5\uD180.\uD180\uD184";
|
||||
String incorrectlyDecoded = new String(exampleHost.getBytes(StandardCharsets.UTF_8), StandardCharsets.ISO_8859_1);
|
||||
|
||||
// Simple server that only parses clear-text HTTP/1.1.
|
||||
|
|
2
pom.xml
2
pom.xml
|
@ -465,7 +465,7 @@
|
|||
<artifactId>maven-surefire-plugin</artifactId>
|
||||
<version>2.19.1</version>
|
||||
<configuration>
|
||||
<argLine>@{argLine} -showversion -Xmx1g -Xms1g -XX:+PrintGCDetails</argLine>
|
||||
<argLine>@{argLine} -Dfile.encoding=UTF-8 -showversion -Xmx1g -Xms1g -XX:+PrintGCDetails</argLine>
|
||||
<failIfNoTests>false</failIfNoTests>
|
||||
<forkCount>1</forkCount>
|
||||
<systemProperties>
|
||||
|
|
Loading…
Reference in New Issue