[m-rev.] for post-commit review: announce unicode escape sequences
Julien Fischer
juliensf at csse.unimelb.edu.au
Mon Jun 6 00:14:55 AEST 2011
For post-commit review by anyone.
Branches: main
NEWS:
Announce the \u and \U escape sequences for Unicode characters
in string literals.
Julien.
Index: NEWS
===================================================================
RCS file: /home/mercury/mercury1/repository/mercury/NEWS,v
retrieving revision 1.582
diff -u -r1.582 NEWS
--- NEWS 2 Jun 2011 07:20:53 -0000 1.582
+++ NEWS 5 Jun 2011 14:08:59 -0000
@@ -8,6 +8,12 @@
* The `char' type now represents a Unicode code point.
+* Unicode characters can now be encoded in string literals using an
+ escape sequence. The escape sequence \uXXXX (or \UXXXXXXXX), where XXXX
+ (or XXXXXXXX) is a Unicode character code in hexadecimal, is replaced with
+ the corresponding Unicode character. The UTF-8 encoding is used to represent
+ the Unicode character.
+
Changes to the Mercury standard library:
* We have improved Unicode support in the standard library.
--------------------------------------------------------------------------
mercury-reviews mailing list
Post messages to: mercury-reviews at csse.unimelb.edu.au
Administrative Queries: owner-mercury-reviews at csse.unimelb.edu.au
Subscriptions: mercury-reviews-request at csse.unimelb.edu.au
--------------------------------------------------------------------------
More information about the reviews
mailing list