Uploaded image for project: 'SWORD'
  1. SWORD
  2. API-160

Windows clib functions cannot handle non-ASCII Unicode file paths

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.6.2, 1.7.0
    • Fix Version/s: 1.9.0
    • Component/s: None
    • Labels:
      None

      Description

      If a user stores SWORD-related files under a path including non-ASCII characters in Windows, the library will be unable to access them.

      The library currently uses the standard C library calls to methods such as open, mkdir, fopen, etc. On most modern systems these calls are able to handle Unicode paths fine but on Windows these are limited to ASCII(or possibly current 8-bit system encoding?)-only.

      We should update the library to use wrapper functions around the required functionality for building on Windows. Xiphos is using a patched version of the library that uses compatible calls to GLib functions. I am attaching their patch for reference.

        Attachments

          Activity

            People

            • Assignee:
              scribe Troy A Griffitts
              Reporter:
              greg.hellings Greg Hellings
            • Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: