[ python-Bugs-1697943 ] msgfmt cannot cope with BOM

SourceForge.net noreply at sourceforge.net
Wed Apr 11 18:07:37 CEST 2007


Bugs item #1697943, was opened at 2007-04-10 15:58
Message generated for change (Comment added) made by rhettinger
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1697943&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Demos and Tools
Group: Python 2.5
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Christoph Zwerschke (cito)
>Assigned to: Martin v. Löwis (loewis)
Summary: msgfmt cannot cope with BOM

Initial Comment:
If a .po file has a BOM (byte order mark) at the beginning, as is often the case for utf-8 files created on Windows, msgfmt.py complines about a syntax error.

The attached patch fixes this problem.

----------------------------------------------------------------------

>Comment By: Raymond Hettinger (rhettinger)
Date: 2007-04-11 11:07

Message:
Logged In: YES 
user_id=80475
Originator: NO

Martin, is this your code?

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1697943&group_id=5470


More information about the Python-bugs-list mailing list