On 28 Sep 2006, at 23:13, Simon Urbanek wrote:

>
> defaults write org.R-project.R force.LANG en_GB.UTF-8
>
Yep, this does the trick with iconv("Compa\361ia","latin1","UTF-8"),  
but then something worse happens, instead of (before)

isis.large.IFRS.cons.ea.sample[[17]]
[1] Mapfre Re Compa\361ia de Reaseguros SA (IFRS)
2073 Levels: 'The Ethniki' Hellenic General Insurance Company SA ...

I now get

 > iconv("Compa\361ia","latin1","UTF-8")
[1] "CompaƱia"
 > isis.large.IFRS.cons.ea.sample[[17]]
[1]Error in print.default(xx, quote = quote, ...) :
        invalid multibyte string

> in the Terminal and run the GUI again? Consequently UTF-8 should be  
> working again. Please let me know whether it does and I'll fix the  
> GUI to do that automatically. You can revoke the above by running
>
> defaults delete org.R-project.R force.LANG


        [[alternative HTML version deleted]]

_______________________________________________
R-SIG-Mac mailing list
[email protected]
https://stat.ethz.ch/mailman/listinfo/r-sig-mac

Reply via email to