On Mon, 2009-04-27 at 16:26 +0200, Toby HOCKING wrote:
> One more thing: in R it seems accent strings have the encoding "UTF-8"
> whereas python strings come into R always with an unknown encoding.
> Maybe this has something to do with it?
>
> thock...@stagiaire-desktop:~/rpy$ R
> > Encoding
Hi again, here is a temporary solution that I am using, in case anyone
encounters the same problem and wants a quick dirty hack solution:
def encode_utf8(D):
"""Encode all unicode strs in a dict to normal strs.
The idea is that you are going to call an R function with RPy, and
yo