# HG changeset patch # User Eli Zaretskii # Date 986393465 0 # Node ID 12c496043cb007d41ccbb9497f5ad1b82e54445d # Parent 7b4fa0c2ad35f5e19056e7279df80c721e35a23a (Init Syntax): Mention the -*-coding:-*- tag if .emacs uses non-ASCII characters in strings. diff -r 7b4fa0c2ad35 -r 12c496043cb0 man/custom.texi --- a/man/custom.texi Wed Apr 04 14:09:12 2001 +0000 +++ b/man/custom.texi Wed Apr 04 14:11:05 2001 +0000 @@ -2088,6 +2088,16 @@ a Meta character, as in @samp{\M-a} for @kbd{Meta-A} or @samp{\M-\C-a} for @kbd{Control-Meta-A}.@refill +@cindex international characters in @file{.emacs} +@cindex non-ASCII characters in @file{.emacs} +If you want to include non-ASCII characters in strings in your init +file, you should consider putting a @samp{-*- coding: -*-} tag on the +first line which states the coding system used to save your +@file{.emacs}, as explained in @ref{Recognize Coding}. This is +because the defaults for decoding non-ASCII text might not yet be set +up by the time Emacs reads those parts of your init file which use +such strings, and Emacs might decode those strings incorrectly. + @item Characters: Lisp character constant syntax consists of a @samp{?} followed by either a character or an escape sequence starting with @samp{\}.