From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Heime Newsgroups: gmane.emacs.help Subject: Re: UTF-8 characters in comments of a program Date: Sat, 21 Oct 2023 10:48:10 +0000 Message-ID: References: <837cngs9fo.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="19346"; mail-complaints-to="usenet@ciao.gmane.io" Cc: help-gnu-emacs@gnu.org To: Eli Zaretskii Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sat Oct 21 12:48:42 2023 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qu9X5-0004ks-EV for geh-help-gnu-emacs@m.gmane-mx.org; Sat, 21 Oct 2023 12:48:39 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qu9Wr-0008G2-UU; Sat, 21 Oct 2023 06:48:25 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qu9Wp-0008Fl-LS for help-gnu-emacs@gnu.org; Sat, 21 Oct 2023 06:48:23 -0400 Original-Received: from mail-4324.protonmail.ch ([185.70.43.24]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qu9Wm-0007YC-1G for help-gnu-emacs@gnu.org; Sat, 21 Oct 2023 06:48:23 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1697885296; x=1698144496; bh=edNAuUFnfZ/KuYplYqC2uJyaAVpGnnKHJ3v3Q0pEtZI=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=i/wUU39SaE1ikZGU8upTzBDdciY75X9iwYxwwZqVLuHattFUyU86ixA0NPMocPslf ssaCvcLKsDmXRzLKsCoqaCT7dAca7LFO/2pVY8RGF/9e/HQk9HuHmiuomvb4oWblxV 7IOH/A3TyqH1STshKgCJpJixdnhaGmzisluRR/AjkmlZw4kq0O3l1io3txgjew56nQ kV56AxPk2aAhvBSOWlHn68H8nWgxBvhVQ/pXoLRfRd80PL7UwUaMmtlpKNGWSyD6vY YbWDO1NOAHv8UTMKvVh5rdEm8U4263O8KwXkXtNwDcIXMKuQQT5nDuk/FTU60jqZMM j7j8nwUnrHQ3A== In-Reply-To: <837cngs9fo.fsf@gnu.org> Feedback-ID: 57735886:user:proton Received-SPF: pass client-ip=185.70.43.24; envelope-from=heimeborgia@protonmail.com; helo=mail-4324.protonmail.ch X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:145336 Archived-At: ------- Original Message ------- On Saturday, October 21st, 2023 at 7:48 PM, Eli Zaretskii wr= ote: > > Date: Fri, 20 Oct 2023 22:53:38 +0000 > > From: Heime heimeborgia@protonmail.com > >=20 > > Is it allowed to have UTF-8 characters in comments of a program (elisp,= fortran, C, C++, latex) ? >=20 >=20 > There's no such thing as "UTF-8 characters". UTF-8 is an encoding of > Unicode character set. >=20 > If you want to know whether language compilers and interpreters accept > UTF-8 encoded characters, then you will need to consult the > documentation of the relevant compiler.=20 > AFAIK, C/C++ compilers support this only in recent versions.=20 Would you know if there is support for languages in Gnu GCC ? > For Emacs Lisp, the answer is YES, as the default encoding of ELisp files= is UTF-8. My difficulty is how am I going to introduce them to an elisp source file.