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

Alex Skochin edited comment on TIKA-422 at 10/21/10 10:40 AM:
--------------------------------------------------------------

Thanks a lot for the patch. It works fine for the most of documents. But it 
seems to fail parsing files that contain curly brackets inside (see attached 
test_with_curly_brackes.rtf for example). 

      was (Author: alless):
    Thanks a lot for the patch. It works fine for the most of documents. But I 
seems to fail parsing the rtf-file that contains curly brackets inside (see 
attached test_with_curly_brackes.rtf). 
  
> Wrong charset conversion in some RTF documents.
> -----------------------------------------------
>
>                 Key: TIKA-422
>                 URL: https://issues.apache.org/jira/browse/TIKA-422
>             Project: Tika
>          Issue Type: Bug
>          Components: parser
>    Affects Versions: 0.7
>            Reporter: Piotr Bartosiewicz
>         Attachments: RTFParser.patch, RTFParser.patch, RTFParser.patch, 
> RTFParser.patch, test-windows-1250.rtf, test_with_curly_brackets.rtf
>
>
> RTF parser uses javax.swing.text.rtf, but it sucks.
> It doesn't support '\ansicpg' tag (cite from RTF file format specification:
> "This keyword represents the default ANSI code page used to perform the 
> Unicode to ANSI conversion when writing RTF text").
> Unfortunately Windows WordPad saves nonascii characters using \ansicpg 
> instead of supported by javax.swing.text.rtf unicode characters.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to