diff options
| author | Eli Zaretskii | 2015-09-27 11:30:35 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2015-09-27 11:30:35 +0300 |
| commit | f49e3a2603f249bb2ec281f3eaedd80cbaef2243 (patch) | |
| tree | 18f664d7e58cfff0d6fcae3f672a0320ab55dd4a /CONTRIBUTE | |
| parent | 1ac5a9c20cb22efb398fa18781c6b932dd4e54df (diff) | |
| download | emacs-f49e3a2603f249bb2ec281f3eaedd80cbaef2243.tar.gz emacs-f49e3a2603f249bb2ec281f3eaedd80cbaef2243.zip | |
; Mention non-ASCII encoding issues in CONTRIBUTE
* CONTRIBUTE: Document recommendations for encoding non-ASCII
characters in Emacs sources.
Diffstat (limited to 'CONTRIBUTE')
| -rw-r--r-- | CONTRIBUTE | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/CONTRIBUTE b/CONTRIBUTE index 609ab7acb6b..098579e11af 100644 --- a/CONTRIBUTE +++ b/CONTRIBUTE | |||
| @@ -201,6 +201,20 @@ then exclude that commit from the merge to trunk. | |||
| 201 | 201 | ||
| 202 | ** Other process information | 202 | ** Other process information |
| 203 | 203 | ||
| 204 | *** Non-ASCII characters in Emacs files | ||
| 205 | |||
| 206 | If you introduce non-ASCII characters into Emacs source files, it is a | ||
| 207 | good idea to add a 'coding' cookie to the file to state its encoding. | ||
| 208 | Please use the UTF-8 encoding unless it cannot do the job for some | ||
| 209 | good reason. As of Emacs 24.4, it is no longer necessary to have | ||
| 210 | explicit 'coding' cookies in *.el files if they are encoded in UTF-8, | ||
| 211 | but other files need them even if encoded in UTF-8. And even for *.el | ||
| 212 | files, having an explicit encoding specification facilitates correct | ||
| 213 | display of non-ASCII characters when the file is visited in older | ||
| 214 | Emacs versions. | ||
| 215 | |||
| 216 | *** Useful files in the admin/ directory | ||
| 217 | |||
| 204 | See all the files in admin/notes/* . In particular, see | 218 | See all the files in admin/notes/* . In particular, see |
| 205 | admin/notes/newfile, see admin/notes/repo. | 219 | admin/notes/newfile, see admin/notes/repo. |
| 206 | 220 | ||