[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #57990] msgmerge (not msgfmt) invalid multibyte sequence for valid
From: |
Sam Liddicott |
Subject: |
[bug #57990] msgmerge (not msgfmt) invalid multibyte sequence for valid UTF-8 sequence |
Date: |
Fri, 13 Mar 2020 11:51:55 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.132 Safari/537.36 |
URL:
<https://savannah.gnu.org/bugs/?57990>
Summary: msgmerge (not msgfmt) invalid multibyte sequence for
valid UTF-8 sequence
Project: GNU gettext
Submitted by: samjam
Submitted on: Fri 13 Mar 2020 03:51:53 PM UTC
Category: Translator tools
Severity: 3 - Normal
Item Group: None
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
Using msgmerge 0.19.8.1 this simple test fails:
echo bXNnaWQgIldBUk5JTkciCm1zZ3N0ciAi6K2m5ZGKIgo= | base64 -d | msgmerge
/dev/stdin /dev/null
even using iconv to sanitise fails, though iconv doesn't complain:
echo bXNnaWQgIldBUk5JTkciCm1zZ3N0ciAi6K2m5ZGKIgo= | base64 -d | iconv -t UTF-8
| msgmerge /dev/stdin /dev/null
but the same input to msgfmt works:
echo bXNnaWQgIldBUk5JTkciCm1zZ3N0ciAi6K2m5ZGKIgo= | base64 -d | msgfmt -o
/tmp/x.mo /dev/stdin
My system is LinuxMint 19.1
My environment has:
LANG=en_GB.UTF-8
LANGUAGE=en_GB:en
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Fri 13 Mar 2020 03:51:53 PM UTC Name: x.po Size: 32B By: samjam
x.po is the failing file, but passed as valid by iconv and online utf-8
validators
<http://savannah.gnu.org/bugs/download.php?file_id=48591>
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?57990>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [bug #57990] msgmerge (not msgfmt) invalid multibyte sequence for valid UTF-8 sequence,
Sam Liddicott <=