Displaying 3 results from an estimated 3 matches for "unnnnnnnn".
Did you mean:
nnnnnnnn
2014 Dec 04
1
\U with more than 4 digits returns the wrong character
...re in the ?Quotes help page.
Having a warning under Windows might be nicer behaviour than silently
returning the wrong value too.
On 4 December 2014 at 22:24, Mark van der Loo <mark.vanderloo at gmail.com> wrote:
> Richie,
>
> The R language definition [1] says (10.3.1):
>
> \Unnnnnnnn \U{nnnnnnnn}
> (where multibyte locales are supported and not on Windows, otherwise
> an error). Unicode character with given hex code ? sequences of up to
> eight hex digits.
>
>
> Best,
> Mark
>
> [1] http://cran.r-project.org/doc/manuals/r-release/R-lang.html
> http...
2014 Dec 04
4
\U with more than 4 digits returns the wrong character
If I type a character using \U syntax that has more than 4 digits, I
get the wrong character. For example,
"\U1d4d0"
should print a mathematical bold script capital A. See
http://www.fileformat.info/info/unicode/char/1d4d0/index.htm
On my machine, it prints the Hangul character corresponding to
"\Ud4d0"
http://www.fileformat.info/info/unicode/char/d4d0/index.htm
It seems
2014 Dec 04
0
\U with more than 4 digits returns the wrong character
Richie,
The R language definition [1] says (10.3.1):
\Unnnnnnnn \U{nnnnnnnn}
(where multibyte locales are supported and not on Windows, otherwise
an error). Unicode character with given hex code ? sequences of up to
eight hex digits.
Best,
Mark
[1] http://cran.r-project.org/doc/manuals/r-release/R-lang.html
http://www.markvanderloo.eu
-----------------------...