tika-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nick Burch (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (TIKA-2183) Can't Read file if its name is Arabic
Date Wed, 23 Nov 2016 12:50:59 GMT

    [ https://issues.apache.org/jira/browse/TIKA-2183?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15690022#comment-15690022
] 

Nick Burch commented on TIKA-2183:
----------------------------------

How are you calling Tika? I'd guess some sort of Python wrapper? If so, which one?

> Can't Read file if its name is Arabic
> -------------------------------------
>
>                 Key: TIKA-2183
>                 URL: https://issues.apache.org/jira/browse/TIKA-2183
>             Project: Tika
>          Issue Type: Bug
>          Components: general, languageidentifier
>    Affects Versions: 1.14
>            Reporter: Ahmad Sawalhah
>
> 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)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message