[Bug 747315] EXIF tags: should write strings as UTF-8 by default, not Latin1

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Mon Jun 20 16:57:19 UTC 2016


https://bugzilla.gnome.org/show_bug.cgi?id=747315

Paulo Neves <ptsneves at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ptsneves at gmail.com

--- Comment #1 from Paulo Neves <ptsneves at gmail.com> ---
Created attachment 330094
  --> https://bugzilla.gnome.org/attachment.cgi?id=330094&action=edit
UTF8 strings in exif

I investigated the issue and it happens that EXIF
standard is mute on other character encodings
outside 7bit ASCII. This is largely ignored
by the industry, as in the case of gstreamer,
that uses 8 bit ASCII/latin1 encoding.

With the above, encoding the tags in UTF8 would
not result in a visible difference from what is
implemented now due to UTF8 being equivalent to
latin1 in the single byte range.
The differences would only be spotted for
characters outside the ASCII range which
previously was not supported. Even when multi
byte characters are used UTF8 assures that
it is endian independent.

Another argument to make gstreamer exif
implementation write UTF8 tags is
that it already supports parsing UTF8 encoded
tags (see gstexiftag.c at parse_exif_ascii_tag),
as verified by tests.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list