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

Tim Allison edited comment on TIKA-4370 at 2/20/25 4:27 PM:
------------------------------------------------------------

The simplest option would be to add charset detection before mimetypes, and 
then have mimetypes see if charset detection has been set if MimeTypes would 
have otherwise declared: {{application/octet-stream}}.

This is bad because we don't want to run charset detection except as a final 
step if no other detector has found anything.


was (Author: talli...@mitre.org):
The simplest option would be to add charset detection before mimetypes, and 
then have mimetypes see if charset detection has been set if it declares 
{{application/octet-stream}}.

This is bad because we don't want to run charset detection except as a final 
step if no other detector has found anything.

> SJIS Encoded Files Can't be Detected
> ------------------------------------
>
>                 Key: TIKA-4370
>                 URL: https://issues.apache.org/jira/browse/TIKA-4370
>             Project: Tika
>          Issue Type: Bug
>            Reporter: Subbu
>            Priority: Major
>
> When character encoding of file is SJIS, without file name in the metadata, 
> most files content-type detected as application/octet-stream. Is there zero 
> support for SJIS? 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to