help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: UTF-8 characters in comments of a program


From: Heime
Subject: Re: UTF-8 characters in comments of a program
Date: Sat, 21 Oct 2023 10:48:10 +0000


------- Original Message -------
On Saturday, October 21st, 2023 at 7:48 PM, Eli Zaretskii <eliz@gnu.org> wrote:

> > Date: Fri, 20 Oct 2023 22:53:38 +0000
> > From: Heime heimeborgia@protonmail.com
> > 
> > Is it allowed to have UTF-8 characters in comments of a program (elisp, 
> > fortran, C, C++, latex) ?
> 
> 
> There's no such thing as "UTF-8 characters". UTF-8 is an encoding of
> Unicode character set.
> 
> 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. 

> AFAIK, C/C++ compilers support this only in recent versions. 

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.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]