[Bug 740784] subparse: fails to detect UTF-8 encoding

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Sun Apr 19 14:10:35 PDT 2015


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

Reynaldo H. Verdejo Pinochet <reynaldo at opendot.cl> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #292114|0                           |1
        is obsolete|                            |
 Attachment #301945|none                        |reviewed
             status|                            |

--- Comment #28 from Reynaldo H. Verdejo Pinochet <reynaldo at opendot.cl> ---
Created attachment 301945
  --> https://bugzilla.gnome.org/attachment.cgi?id=301945&action=edit
subparse: avoid false negatives dealing with UTF-8

Patch rebased on top of latest master.

Had completely forgot about this issue. Will take another
look and comment. My take though, was that as long as we
rely on finding one valid code point the patch should be
rather safe. I might not be remembering this clearly but
from what I know, finding a valid code point in otherwise
non UTF-8 text it's quite unlikely.

Relying on the BOM being present is not a good idea in
general, BOM presence is not required and even frowned
upon.

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


More information about the gstreamer-bugs mailing list