th_TH does not exist at locale of OSX.
I should be able to handle Thai character string in UTF-8
locale such as en_US.UTF-8.
There is also a method of preparing th_TH local with localedef.
2006/8/27, hutcha.s at psu.ac.th <hutcha.s at
psu.ac.th>:> Full_Name: Hutcha Sriplung
> Version: R-2.3.1
> OS: Mac OSX
> Submission from: (NULL) (61.90.155.1)
>
>
> I am using Mac OSX 10.4.7 and find that locale setting is not working
properly.
>
>
> > Sys.getlocale()
> [1] "C"
> > Sys.setlocale(category="LC_ALL",locale="th_TH")
> [1] "C"
>
> When I change locale to some other languages such as french, chinese, and
> japanese, it works fine but not with some other languages such as Bahasa
> Indonesia and Bahasa Malaysia. Thai locale is OK on Windows and Linux.
>
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
>
>
>
--
EI-JI Nakama <nakama at ki.rim.or.jp>
"\u4e2d\u9593\u6804\u6cbb" <nakama at ki.rim.or.jp>