[
https://issues.apache.org/jira/browse/TIKA-1024?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Michael McCandless resolved TIKA-1024.
--------------------------------------
Resolution: Fixed
> An MP3 with an UTF-16 ID3 tag containing only the BOM should produce empty
> string value for that tag
> ----------------------------------------------------------------------------------------------------
>
> Key: TIKA-1024
> URL: https://issues.apache.org/jira/browse/TIKA-1024
> Project: Tika
> Issue Type: Bug
> Components: parser
> Reporter: Michael McCandless
> Assignee: Michael McCandless
> Fix For: 1.3
>
> Attachments: testNakedUTF16BOM.mp3, TIKA-1024.patch
>
>
> This seems to be a difference between JVMs: on IBM's JVM I incorrectly see
> the BOM as the value of the tag, while on Oracle's JVM I correctly get the
> empty string.
> I'm not sure if this is a bug in IBM's JVM ... the javadocs are not totally
> clear how a UTF-16 string containing only the BOM should be decoded by new
> String(...) ... to fix this I think we should just detect this case and
> short-circuit empty string return.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira