javax.xml.stream.XMLStreamException: Underlying stream encoding 'Cp1252' and input paramter for writeStartDocument() method 'utf-8' do not match.

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via freecol by fca00000
, 1 year ago
Underlying stream encoding 'Cp1252' and input paramter for writeStartDocument() method 'utf-8' do not match.
via freecol by djalan
, 1 year ago
Underlying stream encoding 'ASCII' and input paramter for writeStartDocument() method 'UTF-8' do not match.
via Stack Overflow by Anurag
, 2 years ago
Underlying stream encoding 'Cp1252' and input paramter for writeStartDocument() method 'UTF-8' do not match.
via GitHub by bengalischerHase
, 3 months ago
Underlying stream encoding 'Cp1252' and input paramter for writeStartDocument() method 'UTF-8' do not match.
via JIRA by Timo Naroska, 1 year ago
Underlying stream encoding 'Cp1252' and input paramter for writeStartDocument() method 'UTF-8' do not match.
javax.xml.stream.XMLStreamException: Underlying stream encoding 'Cp1252' and input paramter for writeStartDocument() method 'utf-8' do not match.
at net.sf.freecol.server.FreeColServer.saveGame(FreeColServer.java:483)
at net.sf.freecol.client.control.InGameController$1.run(InGameController.java:130)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.