Hi,

On Friday 13 May 2011, meik michalke wrote:
> i'm not an windows expert, but can this somehow be related to the set
> encoding of the shell RKWard gets launched from in the first place? i
> assume the descriptions mentioned above were UTF-8 encoded at package
> build time. just let me know if you have an idea what i could try to nail
> this one down.

well, encoding issues tend to confuse me, badly. However, here are some ideas:

- To narrow down the problem, it's always a good idea to try in plain R, or in 
this case, in the plain Rgui.exe (also included in the installation bundle). 
If there is any difference between plain R and RKWard, be sure to also check 
for differences in Sys.locale().

- Writing R Extensions has a section on encoding issues: http://cran.r-
project.org/doc/manuals/R-exts.html#Encoding-issues . I'm not really sure, 
what to make of that, but I guess the best hints in there is to play with 
Encoding() (and possibly with enc2native()), and to check the "Encoding" field 
in the package's DESCRIPTION file.

- I did not understand, how exactly you pass text to / from the external 
commands. If this involves writing to text files as an intermediate step, then 
of course it may be instructive to check the encoding of those intermediate 
files.

Hope that helps a bit.

Regards
Thomas

Attachment: signature.asc
Description: This is a digitally signed message part.

------------------------------------------------------------------------------
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
RKWard-devel mailing list
RKWard-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rkward-devel

Reply via email to