This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[COMMITTED PATCH] avoid non-ASCII/non-UTF8 character in string literal in winduni.c
- From: Roland McGrath <mcgrathr at google dot com>
- To: "binutils at sourceware dot org" <binutils at sourceware dot org>
- Date: Fri, 11 Oct 2013 10:25:17 -0700
- Subject: [COMMITTED PATCH] avoid non-ASCII/non-UTF8 character in string literal in winduni.c
- Authentication-results: sourceware.org; auth=none
Committed as obvious enough, to trunk and 2.24 branch.
I'm not entirely sure the patch will come through the email without
mangling the character. It's replacing a literal \345 byte in the source
with the octal literal syntax \345. It's just good practice to avoid the
source files having non-UTF8 bytes in them.
Thanks,
Roland
binutils/
* winduni.c (languages): Use \345 (octal syntax) rather than
literal non-ASCII/non-UTF8 character in string literal.
--- a/binutils/winduni.c
+++ b/binutils/winduni.c
@@ -101,7 +101,7 @@ static const wind_language_t languages[] =
{ 0x040D, 862, 1255, "Hebrew", "Israel" }, { 0x040E, 852,
1250, "Hungarian", "Hungary" },
{ 0x040F, 850, 1252, "Icelandic", "Iceland" }, { 0x0410, 850,
1252, "Italian", "Italy" },
{ 0x0411, 932, 932, "Japanese", "Japan" }, { 0x0412, 949,
949, "Korean", "Korea (south)" },
- { 0x0413, 850, 1252, "Dutch", "Netherlands" }, { 0x0414, 850,
1252, "Norwegian (Bokmïl)", "Norway" },
+ { 0x0413, 850, 1252, "Dutch", "Netherlands" }, { 0x0414, 850,
1252, "Norwegian (Bokm\345l)", "Norway" },
{ 0x0415, 852, 1250, "Polish", "Poland" }, { 0x0416, 850,
1252, "Portuguese", "Brazil" },
{ 0x0418, 852, 1250, "Romanian", "Romania" }, { 0x0419, 866,
1251, "Russian", "Russia" },
{ 0x041A, 852, 1250, "Croatian", "Croatia" }, { 0x041B, 852,
1250, "Slovak", "Slovakia" },