javax.xml.stream.XMLStreamException

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

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web282

  • via JIRA by Timo Naroska, 1 year ago
    Underlying stream encoding 'Cp1252' and input paramter for writeStartDocument() method 'UTF-8' do not match.
  • Underlying stream encoding 'Cp1252' and input paramter for writeStartDocument() method 'utf-8' do not match.
  • Underlying stream encoding 'Cp1252' and input paramter for writeStartDocument() method 'UTF-8' do not match.
  • Stack trace

    • javax.xml.stream.XMLStreamException: Underlying stream encoding 'Cp1252' and input paramter for writeStartDocument() method 'utf-8' do not match. at com.sun.xml.internal.stream.writers.XMLStreamWriterImpl.writeStartDocument(XMLStreamWriterImpl.java:1182) at net.sf.freecol.server.FreeColServer.saveGame(FreeColServer.java:483) at net.sf.freecol.client.control.InGameController$1.run(InGameController.java:130)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown user
    Once, 1 year ago