astien
- Original Message -
From: "Ivan Krylov"
To: "Sebastien Bihorel"
Cc: r-help@r-project.org
Sent: Monday, November 5, 2018 2:34:02 PM
Subject: Re: [R] Encoding issue
On Mon, 5 Nov 2018 08:36:13 -0500 (EST)
Sebastien Bihorel wrote:
> [1] "râs"
Interesting
On Mon, 5 Nov 2018 08:36:13 -0500 (EST)
Sebastien Bihorel wrote:
> [1] "râs"
Interesting. This is what I get if I decode the bytes 72 e2 80 99 73 0a
as latin-1 instead of UTF-8. They look like there is only three
characters, but, actually, there is more:
$ perl -CSD -Mcharnames=:full -MEncode=d
Hi,
I am having problems getting similar output when processing the same markdown
files on 2 different Linux systems (one is a laptop with Linux Mint 18.3, the
other is a production server running on CentOS 7). I think this boils down to
an encoding issue but I am not sure if this is a system-w
R 3.0.2
OS X
Colleagues,
I know little about encoding so please be patient with this question. I have a
CSV file created from a SAS7BDAT dataset (using Shotwell's SAS7BDAT package).
In the CSV file, when opened with XL, one entry reads as:
¸æçñàºmol/L
When I read this into R, that en
I have a length-1 character vector x, and I want to replace ' in the
character into ''. What I do now is to iconv x into suitable current
Encoding, then use gsub. It works well if I knows what x is (e.g.
Chinese charater), as I can use suitable locales to handle it.
### it works
x<- "some chinese
5 matches
Mail list logo