Uploaded image for project: 'Tika'
  1. Tika
  2. TIKA-2183

Can't Read file if its name is Arabic

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 1.14
    • Fix Version/s: None
    • Component/s: general, languageidentifier
    • Labels:
      None
    • Flags:
      Important

      Description

      if I have an Arabic File name like ( احمد.docx ) it gives me this error
      File "C:\Python34\lib\http\client.py", line 1109, in putheader
      values[i] = one_value.encode('latin-1')
      UnicodeEncodeError: 'latin-1' codec can't encode characters in position 21-27: ordinal not in range(256)

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              ahmad.sawal Ahmad Sawalhah
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated: