Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
e2bf12ba
Commit
e2bf12ba
authored
Apr 04, 2001
by
Eli Zaretskii
Browse files
(Init Syntax): Mention the -*-coding:-*- tag if .emacs uses non-ASCII
characters in strings.
parent
58e4f61d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
man/custom.texi
man/custom.texi
+10
-0
No files found.
man/custom.texi
View file @
e2bf12ba
...
...
@@ -2088,6 +2088,16 @@ sequences are mandatory.
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{\}.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment