From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chad Brown Newsgroups: gmane.emacs.devel Subject: Re: [Emacs-diffs] master db828f6: Don't rely on defaults in decoding UTF-8 encoded Lisp files Date: Sun, 27 Sep 2015 09:03:54 -0700 Message-ID: <60126F7B-7C7B-41F9-BF0E-F5FE27374F9D@gmail.com> References: <20150921165211.20434.28114@vcs.savannah.gnu.org> <83fv27mt7r.fsf@gnu.org> <83wpvfix7i.fsf@gnu.org> <83fv23hr0z.fsf@gnu.org> <5605CB6B.4000102@cs.ucla.edu> <83twqhhf0g.fsf@gnu.org> <5606AC48.7090801@cs.ucla.edu> <83zj09fbzp.fsf@gnu.org> <5606C140.6090309@cs.ucla.edu> <878u7trwlb.fsf@fencepost.gnu.org> <5606E995.2000102@cs.ucla.edu> <83si61ezxd.fsf@gnu.org> <2FCA0DAD-831B-4B0A-B948-9F31DE52B6F0@gmail.com> <83mvw8fh8g.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2104\)) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1443369872 10761 80.91.229.3 (27 Sep 2015 16:04:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 27 Sep 2015 16:04:32 +0000 (UTC) Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Sep 27 18:04:28 2015 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ZgEQz-0003Wr-1V for ged-emacs-devel@m.gmane.org; Sun, 27 Sep 2015 18:04:18 +0200 Original-Received: from localhost ([::1]:58006 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZgEQy-0000oC-8T for ged-emacs-devel@m.gmane.org; Sun, 27 Sep 2015 12:04:16 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46531) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZgEQl-0000eC-LS for emacs-devel@gnu.org; Sun, 27 Sep 2015 12:04:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZgEQk-0001Uj-Qz for emacs-devel@gnu.org; Sun, 27 Sep 2015 12:04:03 -0400 Original-Received: from mail-pa0-x22d.google.com ([2607:f8b0:400e:c03::22d]:35970) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZgEQg-0001TF-Cm; Sun, 27 Sep 2015 12:03:58 -0400 Original-Received: by pablk4 with SMTP id lk4so53627465pab.3; Sun, 27 Sep 2015 09:03:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=U2dR2fC+Qh/ivbdj0cuBTfujbc1lhjOk/k4Sx1zqvWE=; b=oJTTN1yhha0jldE/gT+HnyYcNvtWTBRWNxosgZUTKUZoUkRH53Cn/UvcJw5iiDActd bAyrxMfAyfv+CxndRtc9FgmZ+Gtf9EZ0O6CzrDpT/+GHarDXOFGHmEC0q0D4TzfeaxOd ocy9Ue1NWZ9adcuv2SwtP+JNOb0D0Q6MN/E2Lx6ucEjewFyFRda8IAM08JXclarxB3rZ 8Yk7NwMh1BSRMYKhXJ7YGzRyLogfjoJQ8C0zAxTSw+jk5ln1akQxWvxy+Fw26QRY37eP AZcHzeM9FzTtfMHxzhUE1knjFhNoTUmxywfnDZa0Nw5RRhgcSSXGckjJN2FlLh8AvsdH hFYw== X-Received: by 10.68.57.143 with SMTP id i15mr20933147pbq.104.1443369837599; Sun, 27 Sep 2015 09:03:57 -0700 (PDT) Original-Received: from [10.0.1.31] (174-21-111-247.tukw.qwest.net. [174.21.111.247]) by smtp.gmail.com with ESMTPSA id fe8sm14561269pab.40.2015.09.27.09.03.55 (version=TLS1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 27 Sep 2015 09:03:56 -0700 (PDT) In-Reply-To: <83mvw8fh8g.fsf@gnu.org> X-Mailer: Apple Mail (2.2104) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:400e:c03::22d X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:190413 Archived-At: > On 27 Sep 2015, at 00:34, Eli Zaretskii wrote: >=20 >> From: Chad Brown >> Date: Sat, 26 Sep 2015 13:26:52 -0700 >>=20 >> The default for GCC is UTF-8. >=20 > GCC doesn't write C sources, so its default are not very relevant, > even if you are right in the above assessment (and I don't think you > are). I took the information from the GCC 4.7 documentation: -finput-charset=3Dcharset Set the input character set, used for translation from the character set of the input file to the source character set used by GCC. If the locale does not specify, or GCC cannot get this information from the locale, the default is UTF-8. This can be overridden by either the locale or this command line option. Currently the command line option takes precedence if there's a conflict. charset can be any encoding supported by the system's iconv library routine. I saw almost identical text in the 4.2.4 documentation, and didn=E2=80=99t= go back further. ~Chad