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 475639 - Incorrect encoding in src/lib/accerciser/about_dialog.py
Incorrect encoding in src/lib/accerciser/about_dialog.py
Status: RESOLVED DUPLICATE of bug 497473
Product: accerciser
Classification: Applications
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Accerciser Developers
Accerciser Developers
: 489553 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2007-09-10 22:21 UTC by Danilo Segan
Modified: 2008-02-28 09:13 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Danilo Segan 2007-09-10 22:21:18 UTC
Python's default encoding is ISO-8859-1 (Latin-1), and that's how xgettext extracts the strings.  You can set encoding on the source file using "-*- coding: utf-8 -*-" in the top comment (see http://www.python.org/dev/peps/pep-0263/ for details).

You are using UTF-8 for the copyright symbol. This makes the translation hard to achieve with a message like:

#: ../src/lib/accerciser/about_dialog.py:52
msgid "accerciser Copyright © 2006, 2007 IBM Corporation (BSD)"


Note that we are in the string freeze atm, so don't just rush a fix in.
Comment 1 Claude Paroz 2007-10-23 20:14:10 UTC
*** Bug 489553 has been marked as a duplicate of this bug. ***
Comment 2 Eitan Isaacson 2008-02-28 09:13:49 UTC

*** This bug has been marked as a duplicate of 497473 ***