After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 741411 - scangobj-merge.py: Read files as UTF-8
scangobj-merge.py: Read files as UTF-8
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: common
git master
Other Linux
: Normal normal
: 1.5.1
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2014-12-11 21:16 UTC by Olivier Crête
Modified: 2015-01-12 15:25 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
scangobj-merge.py: Read files as UTF-8 (1.25 KB, patch)
2014-12-11 21:17 UTC, Olivier Crête
accepted-commit_now Details | Review

Description Olivier Crête 2014-12-11 21:16:47 UTC
At least one of the files in gst-plugins-bad has the work "Bézier" with an accent, the current python code reads it as ascii and rejects it. So, the attached patch just reads it as UTF-8 instead.
Comment 1 Olivier Crête 2014-12-11 21:17:17 UTC
Created attachment 292572 [details] [review]
scangobj-merge.py: Read files as UTF-8
Comment 2 Stefan Sauer (gstreamer, gtkdoc dev) 2015-01-12 15:12:22 UTC
Sorry, I missed the patch. I committed something similar, with one extra place to use codecs and added handling for the exception.