[ https://issues.apache.org/jira/browse/TIKA-867?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13278548#comment-13278548 ]
John Mastarone commented on TIKA-867: ------------------------------------- I'd neglected to try the -e option without using the contents of the patch. If I specified utf-8 and used chcp 65001, then I got the correct output, both for a file saved in the ISO-8859-1 format, and for a file saved in the utf-8 format (each containing "Währung"); with the default code page of 437, I still had a problem. So, the patch really isn't necessary, and maybe it wasn't for 324 either, as long as the encoding is manually specified correctly. > UTF-8 encoding does not work on windows > --------------------------------------- > > Key: TIKA-867 > URL: https://issues.apache.org/jira/browse/TIKA-867 > Project: Tika > Issue Type: Bug > Components: cli > Affects Versions: 1.0 > Environment: Windows 7 Enterprise (Java 1.6.0_31) and MAC OS X 10.7.3 > (Java 1.6.0_30) > Reporter: Wolfgang Außerlechner > Attachments: TIKA-867.patch > > > When calling tika as command line tool from within java and parsing the > output buffer with UTF-8 (e.g. new String(buffer, 0, len, > Charset.forName("UTF-8"));) behaviour on windows is different than on mac os. > On windows the encoding seems to be wrong (Währung vs. W?hrung). Other tools > like exiftool work as expected. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira