Uploaded image for project: 'Grouper'
  1. Grouper
  2. GRP-166

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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • 1.4.0
    • 1.3.0
    • API
    • None

    Description

      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

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: