[jira] Created: (SANSELAN-33) Add a field with the raw bytes in org.apache.sanselan.formats.jpeg.iptc.IPTCRecord

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] Created: (SANSELAN-33) Add a field with the raw bytes in org.apache.sanselan.formats.jpeg.iptc.IPTCRecord

JIRA jira@apache.org
Add a field with the raw bytes in org.apache.sanselan.formats.jpeg.iptc.IPTCRecord
----------------------------------------------------------------------------------

                 Key: SANSELAN-33
                 URL: https://issues.apache.org/jira/browse/SANSELAN-33
             Project: Commons Sanselan
          Issue Type: Improvement
            Reporter: Olivier Voortman
            Priority: Trivial


Hi there,

I was wondering if you could add a field with the raw bytes of the IPTCRecord, such as :
        public final byte[] data;  or with a getter().

Because when the IPTCParser creates each IPTCRecord, it assumes the record is using the ISO-8859-1 charset, which of course is not always the case.

It would be nice to perform some automatic charset detection in there too.

But having access to the raw bytes can be usefull anyway, if for some reason the record is not a string.

Thanks already!

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