[m-rev.] for review: specify that source file encoding should be UTF-8

Julien Fischer jfischer at opturion.com
Mon Aug 25 15:20:08 AEST 2014

For review by anyone.


Specify that source file encoding should be UTF-8.

 	As above.  The implementation has required this for a while now,
 	and it's mentioned, in passing, elsewhere in the documentation.


diff --git a/doc/reference_manual.texi b/doc/reference_manual.texi
index 8d27616..97b8498 100644
--- a/doc/reference_manual.texi
+++ b/doc/reference_manual.texi
@@ -158,6 +158,7 @@ for common programming tasks --- see the Mercury Library Reference Manual.

  * Syntax Overview::
+* Character Set::
  * Tokens::
  * Terms::
  * Builtin Operators::
@@ -190,6 +191,12 @@ of tokens, and each token is composed of a sequence of characters.
  Like Prolog, Mercury has the Definite Clause Grammar (DCG) notation
  for clauses.

+ at node Character Set
+ at section Character Set
+Mercury program source files must be written using the UTF-8 encoding of
+Unicode character set.
  @node Tokens
  @section Tokens

More information about the reviews mailing list