[Bug 570979] New: UTF8 PO files not being read as UTF8

bugzilla at redhat.com bugzilla at redhat.com
Sat Mar 6 03:41:10 UTC 2010


Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.

Summary: UTF8 PO files not being read as UTF8

https://bugzilla.redhat.com/show_bug.cgi?id=570979

           Summary: UTF8 PO files not being read as UTF8
           Product: Fedora
           Version: 12
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: medium
          Priority: low
         Component: perl-Locale-PO
        AssignedTo: iarnell at gmail.com
        ReportedBy: jfearn at redhat.com
         QAContact: extras-qa at fedoraproject.org
                CC: iarnell at gmail.com, fedora-perl-devel-list at redhat.com
    Classification: Fedora
    Target Release: ---


Description of problem:
Publican is using Locale::PO to load UTF8 PO files and compares strings against
those from UTF8 XML files. Because Locale::PO is not setting the encoding to
UTF8 when reading the PO file wide characters cause the strings to not match.

Version-Release number of selected component (if applicable):
perl-Locale-PO-0.21-2.fc12.noarch

How reproducible:
When using wide characters in PO files.

Steps to Reproduce:
1. Create a publican book containing a wide character, e.g. —
2. Translate the book to another language
3. build the translated XML

Actual results:
Strings with wide characters do not match, leading to translated content being
excluded from the translated output..

Expected results:
Strings match, translators happy.

Additional info:
The patch at https://rt.cpan.org/Public/Bug/Display.html?id=54064 resolves this
issue.

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


More information about the perl-devel mailing list