Module Tools
  1. Module Tools
  2. MODTOOLS-38

usfm2osis.py doesn't accept non-ASCII characters for command line arguments

    Details

    • Type: Bug Bug
    • Status: Closed (View Workflow)
    • Priority: Major Major
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: usfm2osis.py
    • Labels:
      None
    • Environment:

      Ubuntu Linux

      Description

      Traceback (most recent call last):File ".../sword-tools/modules/python/usfm2osis.py", line 1493, in <module>
      osisFileName = osisWork + '.osis.xml'
      UnicodeDecodeError: 'ascii' codec can't decode byte 0xc9 in position 11: ordinal not in range(128)

        Activity

        Hide
        Peter von Kaehne added a comment -

        The current consensus is that the "work name", in essence the module identifier in finalised modules is an internal token. That some frontends use it as a name for a module is more of a bug than a feature. The conf entry About or Description are more suitable for public consumption and can contain non ASCII text.

        Therefore there is no need to fix this in usfm2osis.py.

        Show
        Peter von Kaehne added a comment - The current consensus is that the "work name", in essence the module identifier in finalised modules is an internal token. That some frontends use it as a name for a module is more of a bug than a feature. The conf entry About or Description are more suitable for public consumption and can contain non ASCII text. Therefore there is no need to fix this in usfm2osis.py.

          People

          • Assignee:
            Peter von Kaehne
            Reporter:
            Robert Hunt
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: