Messages in this thread | | | From | (H. Peter Anvin) | Subject | Re: [PATCH] UTF-8ifying the kernel source | Date | Fri, 5 Mar 2004 23:33:20 +0000 (UTC) |
| |
Followup to: <20040305232425.GA6239@havoc.gtf.org> By author: David Eger <eger@havoc.gtf.org> In newsgroup: linux.dev.kernel
> The third patch concerns 8-bit characters embedded in C strings. > These are almost always output to devfs or proc. The characters used are > the degrees symbol (for ppc temp. sensors) and mu (for micro-seconds). > I do not want to make a value judgement on what the kernel outputs > to userspace, so I leave the strings the same. However, C99 makes it > implementation defined how the source character set is translated to > the character set in the compiled binary... Therefore, I've taken the > raw octets and converted them in the source file to octal constants in > the strings, just to make sure cc doesn't mangle things if you set your > locale differently... >
I would highly vote for making those UTF-8 unless it breaks protocol.
Plain ASCII would be better, though.
-hpa - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |