[
https://issues.apache.org/jira/browse/TIKA-422?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13086428#comment-13086428
]
Michael McCandless commented on TIKA-422:
-----------------------------------------
Thanks Chris!
It was Alex Skochin that created this test originally
(test_with_curly_brackets.rtf, above); I just noticed that his example was
never committed so I made a new patch for it...
> 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
> Assignee: Jukka Zitting
> Fix For: 0.9
>
> Attachments: RTFParser.patch, RTFParser.patch, RTFParser.patch,
> RTFParser.patch, RTFParser.patch, TIKA-422.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.
For more information on JIRA, see: http://www.atlassian.com/software/jira