Bug 1147535 - All C octal escaped UTF-8 chars converted to arab unicode char yeh barree
Summary: All C octal escaped UTF-8 chars converted to arab unicode char yeh barree
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: gettext
Version: 21
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Daiki Ueno
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-09-29 13:22 UTC by Kjartan Maraas
Modified: 2014-10-05 08:14 UTC (History)
5 users (show)

Fixed In Version: gettext-0.19.2-4.fc21
Clone Of:
Environment:
Last Closed: 2014-10-05 08:14:38 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Kjartan Maraas 2014-09-29 13:22:42 UTC
Description of problem:

Some time recently I started seeing the arabic yeh barree character ے being inserted into my Norwegian bokmål translations for GNOME instead of the actual other octal escaped UTF-8 chars are in the source files.

I'm guessing xgettext has problems for some reason. I tried running intltool-update using LC_ALL=C to see if it was locale related, but that gave the same result.


Version-Release number of selected component (if applicable):

[kmaraas@localhost po (master *)]$ rpm -q gettext
gettext-0.19.2-2.fc21.x86_64
[kmaraas@localhost po (master *)]$ rpm -q intltool
intltool-0.50.2-8.fc21.noarch
[kmaraas@localhost po (master *)]$ 


How reproducible:
Every time.

Steps to Reproduce:
1. run intltool-update -p in a module that has C octal escaped UTF-8 chars in the source code
2. check the resulting .pot file
3.

Actual results:


Expected results:


Additional info:

Comment 1 Daiki Ueno 2014-09-29 23:33:12 UTC
Thanks for the report.  Pushed a fix with a test:
http://git.savannah.gnu.org/cgit/gettext.git/commit/?id=883001928eacb62fdf2a5c7da0f38e08148b0fcf
http://git.savannah.gnu.org/cgit/gettext.git/commit/?id=5f977a30e51b58540aee58e9f170c42bd5e88502

Will make another bug-fix release shortly and update the package.

Comment 2 Kjartan Maraas 2014-10-01 18:49:48 UTC
Any chance of an updated package with this fix in Fedora 21?

Comment 3 Fedora Update System 2014-10-03 05:50:59 UTC
gettext-0.19.2-4.fc21 has been submitted as an update for Fedora 21.
https://admin.fedoraproject.org/updates/gettext-0.19.2-4.fc21

Comment 4 Daiki Ueno 2014-10-03 05:57:16 UTC
Since it seems important for translators, I've built it for F21 at first.  Not sure if it could be a blocker, but at least it could be a zero-day update.

Comment 5 Fedora Update System 2014-10-04 03:29:05 UTC
Package gettext-0.19.2-4.fc21:
* should fix your issue,
* was pushed to the Fedora 21 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing gettext-0.19.2-4.fc21'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-12158/gettext-0.19.2-4.fc21
then log in and leave karma (feedback).

Comment 6 Fedora Update System 2014-10-05 08:14:38 UTC
gettext-0.19.2-4.fc21 has been pushed to the Fedora 21 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.