search for: x_inat

Displaying 3 results from an estimated 3 matches for "x_inat".

Did you mean: __init
2017 Aug 01
3
special latin1 do not print as glyphs in current devel on windows
...quot;UTF-8") The second problem IMO is that encoding markers get lost with the enc2* functions x_utf8 <- enc2utf8(x) Encoding(x_utf8) x_nat <- enc2native(x_utf8) Encoding(x_nat) Again, this is not the case with iconv() x_iutf8 <- iconv(x, to = "UTF-8") Encoding(x_iutf8) x_inat <- iconv(x_iutf8, from = "UTF-8") Encoding(x_inat) [[alternative HTML version deleted]]
2017 Aug 01
2
special latin1 do not print as glyphs in current devel on windows
...oding() returns "unknown" for such strings " http://r.789695.n4.nabble.com/source-parse-and-foreign-UTF-8-characters-tp4733523.html > > Again, this is not the case with iconv() >> >> x_iutf8 <- iconv(x, to = "UTF-8") >> Encoding(x_iutf8) >> x_inat <- iconv(x_iutf8, from = "UTF-8") >> Encoding(x_inat) >> > > iconv is converting from/to the current locale's encoding, presumably > CP1252, not from the marked encoding (as the help page states explicitly.) > I am aware that iconv is not using the marked e...
2017 Aug 01
0
special latin1 do not print as glyphs in current devel on windows
...t; "<U+20AC>" "<U+2013>" > Encoding(.Last.value) [1] "latin1" "unknown" "unknown" as expected. > Again, this is not the case with iconv() > > x_iutf8 <- iconv(x, to = "UTF-8") > Encoding(x_iutf8) > x_inat <- iconv(x_iutf8, from = "UTF-8") > Encoding(x_inat) iconv is converting from/to the current locale's encoding, presumably CP1252, not from the marked encoding (as the help page states explicitly.) -- Brian D. Ripley, ripley at stats.ox.ac.uk Emeritus Profes...