Uploaded image for project: 'DSpace'
  1. DSpace
  2. DS-2341

No charset in HTTP header in OAI module

    XMLWordPrintable

    Details

    • Attachments:
      0
    • Comments:
      4
    • Documentation Status:
      Not Required

      Description

      In the response on an OAI request DSpace does not send the characterset which is used. The German National Library (DNB) needs a correct charset to harvest the OAI interface.

      This is the content type in the response header:
      Content-Type: application/xml

      And this is what the DNB is expecting:
      Content-Type: application/xml;charset=UTF-8

      If the charset is not set, the DNB assumes the content to be ISO Latin 1 (and they told me this assumption is according to the standard).
      I have corrected that locally in class org.dspace.xoai.DSpaceOAIDataProvider. But I guess it would be best to set the charset in a config file or detect the correct charset automatically.

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            olli_gold Oliver Goldschmidt
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: