Re: [Rd] String Vector Encoding

2014-02-03 Thread Simon Urbanek
On Feb 3, 2014, at 10:06 AM, Saptarshi Guha wrote: > True but I was hoping someone could point me where in the source code this > happens. > src/main/serialize.c @1655 and @1663 > Cheers > Saptarshi > On Feb 3, 2014 3:37 AM, "Duncan Murdoch" wrote: > >> On 14-02-03 3:41 AM, Saptarshi Guha w

Re: [Rd] String Vector Encoding

2014-02-03 Thread Saptarshi Guha
True but I was hoping someone could point me where in the source code this happens. Cheers Saptarshi On Feb 3, 2014 3:37 AM, "Duncan Murdoch" wrote: > On 14-02-03 3:41 AM, Saptarshi Guha wrote: > >> Hello, >> >> I was reading through serialize.c and i couldn't answer something. >> >> In readItem

Re: [Rd] String Vector Encoding

2014-02-03 Thread Duncan Murdoch
On 14-02-03 3:41 AM, Saptarshi Guha wrote: Hello, I was reading through serialize.c and i couldn't answer something. In readItem, case CHARSXP, rules exists to adjust the read string for string encoding. This is described in the R Internals manual. Duncan Murdoch Q1. I couldn't find wher

[Rd] String Vector Encoding

2014-02-03 Thread Saptarshi Guha
Hello, I was reading through serialize.c and i couldn't answer something. In readItem, case CHARSXP, rules exists to adjust the read string for string encoding. Q1. I couldn't find where the encoding of the elements of the string vector are written? Is it when writeItem writes out the attribute