Re: [R] how to read a website with Chinese Character

2013-01-23 Thread Hui Du
Sent: Wednesday, January 23, 2013 6:16 PM To: Hui Du Cc: r-help@r-project.org Subject: Re: [R] how to read a website with Chinese Character On 13-01-23 8:19 PM, Hui Du wrote: > Hi all, > > I am planning to parse some information on a website which includes lots of > Chinese char

Re: [R] how to read a website with Chinese Character

2013-01-23 Thread Duncan Murdoch
On 13-01-23 8:19 PM, Hui Du wrote: Hi all, I am planning to parse some information on a website which includes lots of Chinese characters. Does someone know how to read/display Chinese in R? Thanks. url = "http://www.teec.org.cn/html/renwujieshao/"; x = readLines(url) If you look at the fir

[R] how to read a website with Chinese Character

2013-01-23 Thread Hui Du
Hi all, I am planning to parse some information on a website which includes lots of Chinese characters. Does someone know how to read/display Chinese in R? Thanks. url = "http://www.teec.org.cn/html/renwujieshao/"; x = readLines(url) I tried encoding = 'UTF-8' already but it didn't help. My R