Uploaded image for project: 'Maven'
  1. Maven
  2. MNG-2025

POM is still not read using the right encoding

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 2.0
    • 2.0.8
    • POM::Encoding
    • None

    Description

      IIRC XML standard says that default encoding is UTF-8 for xml files

      That can be overriden with
      <?xml version="1.0" encoding="ISO-8859-1"?>

      But files without header saved as UTF8 are not parsed in some systems (eg windows, solaris), while files saved as other encoding (I believe it was ansi) break under a Mac mini with yellowdog linux

      Attachments

        1. MNG-2025-maven-model-testcases.patch
          6 kB
          Stefan Hübner
        2. MNG-2025-maven-project-testcases.patch
          4 kB
          Stefan Hübner

        Issue Links

          Activity

            People

              jvanzyl Jason van Zyl
              stefanhuebner Stefan Hübner
              Votes:
              4 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: