Maybe your answers are solutions, but not in my case.
As I indicated with my code-sample I don't have a complete tex-file (with usepackage, document-env, etc). I only generate a piece of a tex file to \input it later in my puplication tex-file.

So there is no way to specifiy an encoding with a \usepackage. Btw: XeTeX don't need any specification for the encoding. Loading xunicode explicite is not needed.

The answer for Sweave is simple and in the help-page (I should have read more carefully before - but it was 3 oclock in the morning).

Sweave("analy.Snw", encoding="bytes")

Now Sweave don't care about the encoding.

______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to