Re: [Rd] encoding question again

2007-12-30 Thread Simon Urbanek
o","wt") >>> writeLines(iconv(..., "utf-8","latin1"),a) >>> close(a) >>> >>> (FWIW: da die empfohlene Kodierung von Webseiten sowieso UTF-8 ist, >>> braucht man es eigentlich nicht wirklich ... ;)) >>> >>>

Re: [Rd] encoding question again

2007-12-29 Thread Prof Brian Ripley
latin1 nur eins. Viele Gruesse, Simon -Ursprüngliche Nachricht- Von: Simon Urbanek [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 27. Dezember 2007 21:40 An: Matthias Wendel Cc: r-devel@r-project.org Betreff: Re: [Rd] encoding question again Matthias, you get exactly what you specified -

Re: [Rd] encoding question again

2007-12-29 Thread Simon Urbanek
tlich nicht wirklich ... ;)) > > charToRaw ist immer eine guter Test, weil UTF-8 fuer Umlaute meist 2- > bytes bracht und latin1 nur eins. > > Viele Gruesse, > Simon > > >> -Ursprüngliche Nachricht- >> Von: Simon Urbanek [mailto:[EMAIL PROTECTED] >> Gesendet

Re: [Rd] encoding question again

2007-12-29 Thread Simon Urbanek
[mailto:[EMAIL PROTECTED] > Gesendet: Donnerstag, 27. Dezember 2007 21:40 > An: Matthias Wendel > Cc: r-devel@r-project.org > Betreff: Re: [Rd] encoding question again > > Matthias, > > you get exactly what you specified - namely UTF-8. If you want your > html file to be

Re: [Rd] encoding question again

2007-12-27 Thread Matthias Wendel
heers, Matthias -Ursprüngliche Nachricht- Von: Simon Urbanek [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 27. Dezember 2007 21:40 An: Matthias Wendel Cc: r-devel@r-project.org Betreff: Re: [Rd] encoding question again Matthias, you get exactly what you specified - namely UTF-8. If yo

Re: [Rd] encoding question again

2007-12-27 Thread Simon Urbanek
Matthias, you get exactly what you specified - namely UTF-8. If you want your html file to be latin1, then you have to say so: zz = file( paste("Itemtabelle/Itemtabelle", abt, ".html"), "wt", encoding = "latin1") In addition, you're assuming that `abt' is in the correct encoding to be unde

[Rd] encoding question again

2007-12-27 Thread Matthias Wendel
Hi, R Devils, I'm running the actual R version in JGR (version 1.5-8 ). Sys.getlocale(category = "LC_ALL") yields [1] "LC_COLLATE=German_Germany.1252;LC_CTYPE=German_Germany.1252;LC_MONETARY=German_Germany.1252;LC_NUMERIC=C;LC_TIME=German_Germany.1252" I want to write some HTML-Code enhanced by