Displaying 3 results from an estimated 3 matches for "u0020".
Did you mean:
0020
2018 Nov 15
2
'date' format differences between CentOS 6 and 7 using the en_GB locale ?
Just noticed that the output of 'date' is different between CentOS 6 and
7 when using the 'en_GB' locale - e.g.:
CentOS 6:
% LANG=en_GB date
Thu Nov 15 11:42:46 GMT 2018
% LANG=en_US date
Thu Nov 15 11:42:56 GMT 2018
CentOS 7:
% LANG=en_GB date
Thu 15 Nov 11:43:07 GMT 2018
% LANG=en_US date
Thu Nov 15 11:43:11 GMT 2018
i.e. with LANG=en_GB on CentOS 7, the day
2018 Nov 15
0
'date' format differences between CentOS 6 and 7 using the en_GB locale ?
...> Thanks
>
> James Pearson
Looks like a simple oversight or bug in RHEL 6 that was fixed for 7.
The latter is correct for UK standard usage. CentOS just follows RHEL.
It is defined in the file /usr/share/i18n/locales/en_GB
CentOS 6 has:
date_fmt "<U0025><U0061><U0020><U0025><U0062><U0020><U0025><U0065>/
which translates to "%a %b %e", e.g. "Thu Nov 15"
CentOS 7 has:
date_fmt "<U0025><U0061><U0020><U0025><U0065><U0020><U0025><U0062>/
which translates...
2008 Jan 04
1
Unicode whitespace
...d occasionally have such problems when copying and pasting from
emails as well.
Wikipedia lists the following codepoints as whitespace (I'm sure there
is a more definitive reference but I could not find one with some
quick googling):
U0009-U000D (Control characters, containing TAB, CR and LF)
U0020 SPACE
U0085 NEL
U00A0 NBSP
U1680 OGHAM SPACE MARK
U180E MONGOLIAN VOWEL SEPARATOR
U2000-U200A (different sorts of spaces)
U2028 LSP
U2029 PSP
U202F NARROW NBSP
U205F MEDIUM MATHEMATICAL SPACE
U3000 IDEOGRAPHIC SPACE
would it be possible for R to treat these all in the same way? (Or
does it already...