diff --git a/NEWS b/NEWS index 147d0822a..21d0af319 100644 --- a/NEWS +++ b/NEWS @@ -10,41 +10,43 @@ prerelease, and a full NEWS corresponding to 1.8 -> 2.0.) Changes in 1.9.3 (since the 1.9.2 prerelease): -** Non-ASCII source code files can be read, but require coding - declarations +** Support for non-ASCII source code files The default reader now handles source code files for some of the -non-ASCII character encodings, such as UTF-8. A non-ASCII source file -should have an encoding declaration near the top of the file. Also, -there is a new function file-encoding that scans a port for a coding -declaration. +non-ASCII character encodings, such as UTF-8. A non-ASCII source file +should have an encoding declaration near the top of the file. Also, +there is a new function, `file-encoding', that scans a port for a coding +declaration. See the section of the manual entitled, "Character Encoding +of Source Files". The pre-1.9.3 reader handled 8-bit clean but otherwise unspecified source code. This use is now discouraged. -** Ports do transcoding +** Support for locale transcoding when reading from and writing to ports -Ports now have an associated character encoding, and port read/write -operations do conversion to/from locales automatically. Ports also +Ports now have an associated character encoding, and port read and write +operations do conversion to and from locales automatically. Ports also have an associated strategy for how to deal with locale conversion -failures. Four functions to support this: set-port-encoding!, -port-encoding, set-port-conversion-strategy!, -port-conversion-strategy. +failures. + +See the documentation in the manual for the four new support functions, +`set-port-encoding!', `port-encoding', `set-port-conversion-strategy!', +and `port-conversion-strategy'. ** String and SRFI-13 functions can operate on Unicode strings -** SRFI-14 char-sets are modified for Unicode +** Unicode support for SRFI-14 character sets -The default char-sets are not longer locale dependent and contain -characters from the whole Unicode range. There is a new char-set, -char-set:designated, which contains all assigned Unicode characters. -There is a new debugging function: %char-set-dump. +The default character sets are no longer locale dependent and contain +characters from the whole Unicode range. There is a new predefined +character set, `char-set:designated', which contains all assigned +Unicode characters. There is a new debugging function, `%char-set-dump'. ** Character functions operate on Unicode characters -char-upcase and char-downcase use default Unicode casing rules. -Character comparisons such as char