Import of an export from Grouper gave error due to character encoding issues

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Minor
    • 1.4.0
    • Affects Version/s: 1.3.0
    • Component/s: API
    • None

      Hi,

      An import of an export from Grouper gave me the following error:

      [java] [Fatal Error] export-cats-and-dogs.xml:145:30: Invalid byte 2
      of 3-byte UTF-8 sequence.

      Looking at the XML, I see that different encoding is used for the umlaut
      in the 'name' attribute of the 'source' tag to that used for the
      contents of the 'description' tag.

      <source id='fub'
      name='Freie Universität Berlin'

      class='edu.internet2.middleware.subject.provider.JDBCSourceAdapter'
      >
      <subjectType name='person'/>
      </source>
      </subjectSourceMetaData>
      </metadata>
      <data>

      <!-- 'fub' -->
      <stem extension='fub'
      displayExtension='FU Berlin'
      name='fub'
      displayName='FU Berlin'
      id='148c85b9-9ed8-4721-b33b-65c71025f938'
      >
      <description>Freie Universität Berlin</description>

      Replacing the 'ä' with 'ä' allows the import to succeed.

      Is this a known issue?

      Loris


      Dr. Loris Bennett
      Computer Centre
      Freie Universität Berlin
      Berlin, Germany

            Assignee:
            Gary Brown (Inactive)
            Reporter:
            Gary Brown (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: