[Bug 740784] New: subparse: fails to detect UTF-8 encoding
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Wed Nov 26 13:11:51 PST 2014
https://bugzilla.gnome.org/show_bug.cgi?id=740784
GStreamer | gst-plugins-base | 1.4.4
Summary: subparse: fails to detect UTF-8 encoding
Classification: Platform
Product: GStreamer
Version: 1.4.4
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: gst-plugins-base
AssignedTo: gstreamer-bugs at lists.freedesktop.org
ReportedBy: athoik at gmail.com
QAContact: gstreamer-bugs at lists.freedesktop.org
GNOME version: ---
Created an attachment (id=291594)
--> (https://bugzilla.gnome.org/attachment.cgi?id=291594)
sample srt with bom and without bom
Subparse fails to detect UTF-8 encoding when file does not contain BOM.
INFO subparse gstsubparse.c:465:convert_encoding:<subparse0> invalid UTF-8!
But when we set GST_SUBTITLE_ENCODING to UTF-8 subtitles displayed correctly.
INFO subparse gstsubparse.c:465:convert_encoding:<subparse0> invalid UTF-8!
LOG subparse gstsubparse.c:495:convert_encoding:<subparse0> successfully
converted 4096 characters from UTF-8 to UTF-8
The exacly same subtitle with BOM (only BOM header is the difference between
those files) has no issues.
--
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- 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