public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: hpa@zytor.com (H. Peter Anvin)
To: linux-kernel@vger.kernel.org
Subject: Re: [PATCH] UTF-8ifying the kernel source
Date: Fri, 5 Mar 2004 23:33:20 +0000 (UTC)	[thread overview]
Message-ID: <c2b2o0$cbp$1@terminus.zytor.com> (raw)
In-Reply-To: 20040305232425.GA6239@havoc.gtf.org

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

  reply	other threads:[~2004-03-05 23:33 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-03-04 10:05 [PATCH] UTF-8ifying the kernel source David Eger
2004-03-04 10:19 ` Meelis Roos
2004-03-04 10:32   ` Måns Rullgård
2004-03-04 21:51 ` Alex Belits
2004-03-05  8:26 ` Miles Bader
2004-03-05 20:01   ` H. Peter Anvin
2004-03-05 21:00     ` Mike Fedyk
2004-03-05 21:02       ` H. Peter Anvin
2004-03-05 21:17         ` Måns Rullgård
2004-03-05 21:26           ` Charles Cazabon
2004-03-05 21:20       ` David Eger
2004-03-05 23:24 ` David Eger
2004-03-05 23:33   ` H. Peter Anvin [this message]
2004-03-06 11:08     ` Xavier Bestel
2004-03-06 11:14       ` Måns Rullgård
2004-03-09  0:30       ` H. Peter Anvin
2004-03-09  9:49         ` Xavier Bestel
2004-03-06 13:33   ` Other bizarre thing... backspaces? David Eger
2004-03-06 14:04     ` Måns Rullgård
2004-03-14 16:25       ` Petr Baudis
2004-03-09 12:19   ` [PATCH] UTF-8ifying the kernel source Geert Uytterhoeven
  -- strict thread matches above, loose matches on Subject: below --
2004-03-05 13:21 paolo ciarrocchi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='c2b2o0$cbp$1@terminus.zytor.com' \
    --to=hpa@zytor.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox