Skip to content

Commit

Permalink
Use correct orthography for default encoding. Closes x-stream#195.
Browse files Browse the repository at this point in the history
  • Loading branch information
joehni committed Apr 3, 2020
1 parent c714555 commit 6b0fd2b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (C) 2007, 2008, 2010, 2014, 2015 XStream Committers.
* Copyright (C) 2007, 2008, 2010, 2014, 2015, 2020 XStream Committers.
* All rights reserved.
*
* The software in this package is published under the terms of the BSD
Expand Down Expand Up @@ -66,7 +66,7 @@ public XmlHeaderAwareReader(final InputStream in) throws UnsupportedEncodingExce

private Map<String, String> getHeader(final PushbackInputStream[] in) throws IOException {
final Map<String, String> header = new HashMap<>();
header.put(KEY_ENCODING, "utf-8");
header.put(KEY_ENCODING, "UTF-8");
header.put(KEY_VERSION, "1.0");

int state = STATE_BOM;
Expand Down

0 comments on commit 6b0fd2b

Please sign in to comment.