[Rd] Possible \uxxx typos in documents
Korpela Mikko (MML)
mikko.korpela at maanmittauslaitos.fi
Wed Apr 11 18:48:53 CEST 2018
I found a few occurrences of "\uxxx" which should probably have
one more "x". A patch follows:
Index: doc/manual/R-ints.texi
===================================================================
--- doc/manual/R-ints.texi (revision 74580)
+++ doc/manual/R-ints.texi (working copy)
@@ -1277,11 +1277,11 @@
we have to a universal format. For those that do not (for example those
lacking a powerful enough @code{iconv}), it is likely that they work in
Latin-1, the old @R{} assumption. Then the parser can return a
-UTF-8-encoded string if it encounters a @samp{\uxxx} escape for a
+UTF-8-encoded string if it encounters a @samp{\uxxxx} escape for a
Unicode point that cannot be represented in the current charset. (This
needs MBCS support, and was only enabled at footnote{See define
@code{USE_UTF8_IF_POSSIBLE} in file @file{src/main/gram.c}.} on
-Windows.) This is enabled for all platforms, and a @samp{\uxxx} or
+Windows.) This is enabled for all platforms, and a @samp{\uxxxx} or
@samp{\Uxxxxxxxx} escape ensures that the parsed string will be marked
as UTF-8.
Index: src/library/base/man/iconv.Rd
===================================================================
--- src/library/base/man/iconv.Rd (revision 74580)
+++ src/library/base/man/iconv.Rd (working copy)
@@ -95,7 +95,7 @@
Some of the implementations have interesting extra encodings: for
example GNU \samp{libiconv} allows \code{to = "C99"} to use
- \code{\\uxxx} escapes for non-ASCII characters.
+ \code{\\uxxxx} escapes for non-ASCII characters.
}
\section{Byte Order Marks}{
More information about the R-devel
mailing list