View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0011298 | mantisbt | localization | public | 2009-12-22 05:38 | 2010-04-23 14:30 |
Reporter | dolmen | Assigned To | siebrand | ||
Priority | normal | Severity | trivial | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Target Version | 1.2.1 | Fixed in Version | 1.2.1 | ||
Summary | 0011298: encoding bug line 841 of strings_french.txt | ||||
Description | The translation for $s_my_view_title_my_comments (line 841 of strings_french.txt) has UTF-8 encoding that look liks strange at least to vim. Patch attached. I don't kwow how I could fix that through translatewiki. | ||||
Tags | No tags attached. | ||||
Attached Files | encoding.patch (748 bytes)
diff --git a/lang/strings_french.txt b/lang/strings_french.txt index 1e2441b..64fcc1f 100644 --- a/lang/strings_french.txt +++ b/lang/strings_french.txt @@ -838,7 +838,7 @@ $s_my_view_title_resolved = 'Résolu'; $s_my_view_title_monitored = 'Surveillé par moi'; $s_my_view_title_feedback = 'En attente de suivi de moi'; $s_my_view_title_verify = 'En attente d\'une confirmation de résolution de moi'; -$s_my_view_title_my_comments = 'Bogues sur lesquels j’ai ajouté un commentaire'; +$s_my_view_title_my_comments = 'Bogues sur lesquels jai ajouté un commentaire'; $s_news_added_msg = 'Nouvelle ajoutée...'; $s_news_deleted_msg = 'Nouvelle supprimée...'; $s_delete_news_sure_msg = 'Voulez-vous vraiment supprimer cette nouvelle ?'; | ||||
Looks fine to me on master. Possibly you have your shell encoding set incorrectly (?) See http://translatewiki.net/wiki/Mantis:S_my_view_title_my_comments/fr for the current string. |
|
The quote charcter (U+0092) is ok, but it is not correctly encoded: is uses 3 bytes (E2, 80, 99) instead of 2 (C2, 92). This is not valid according to the UTF-8 definition. UTF-8 was ambiguous when it has been initially defined, but it has been strictified since. |
|
Reopening as I've added explanations. |
|
Here is some additional information from http://perldoc.perl.org/perlunicode.html#Unicode-Encodings The following table is from Unicode 3.2.
Note the A0..BF in U+0800..U+0FFF, the 80..9F in U+D000...U+D7FF , the 90..B F in U+10000..U+3FFFF, and the 80...8F in U+100000..U+10FFFF. The "gaps" are caused by legal UTF-8 avoiding non-shortest encodings: it is technically possible to UTF-8-encode a single code point in different ways, but that is explicitly forbidden, and the shortest possible encoding should always be used. |
|
Fixed in commit d087800acb97cb6000497c617ea0ed3891dbc3dd |
|
MantisBT: master-1.2.x d087800a 2010-03-20 17:56 Details Diff |
Fix 0011298: encoding bug line 841 of strings_french.txt Signed-off-by: Siebrand Mazeland <s.mazeland@xs4all.nl> |
Affected Issues 0011298 |
|
mod - lang/strings_french.txt | Diff File | ||
MantisBT: master 70f8bd83 2010-03-20 17:56 Details Diff |
Fix 0011298: encoding bug line 841 of strings_french.txt Signed-off-by: Siebrand Mazeland <s.mazeland@xs4all.nl> |
Affected Issues 0011298 |
|
mod - lang/strings_french.txt | Diff File |