OpenJPA
  1. OpenJPA
  2. OPENJPA-1728

SchemaTool is not using UTF-8 for content in generated XML files

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 1.2.2, 1.3.0, 2.0.0, 2.1.1, 2.2.0
    • Fix Version/s: 2.4.0
    • Component/s: jdbc
    • Labels:
      None

      Description

      Discovered while working on OPENJPA-1724 that the SchemaTool is generating XML files marked as encoding="UTF-8", but the code is actually using a FileWriter which uses the JVM locale instead of a OutputStreamWriter set to UTF-8 for the output.

      This is not a simple switch of class usage, as the SchemaTool supports an APPEND flag, which FileWriter supports, but OutputStreamWriter does not....

        Issue Links

          Activity

          Hide
          Albert Lee added a comment -

          Move fix version to 2.3.0 in preparation for 2.2.0 release.

          Show
          Albert Lee added a comment - Move fix version to 2.3.0 in preparation for 2.2.0 release.

            People

            • Assignee:
              Donald Woods
              Reporter:
              Donald Woods
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:

                Development