Skip to content
Prev 366984 / 398506 Next

use of Encoding()?

I'm wondering if it's being done on a Mac, since I see the same behavior at my console (the "standard" R.app GUI). If the issue is with reading a Windows file while using one of the `read.*` functions, then setting the `fileEncoding` parameter to one of 'iso-8859-1' or 'cp1252' may be attempted.

The ?Encodings page says: "ASCII strings will never be marked with a declared encoding, since their representation is the same in all supported encodings."

Running the example in the help page (on a Mac):
[1] "unknown"
[1] "fa?ile"
[1] "latin1"