[R] How to receive German umlauts (8bitWestern) from SJava ?

Jens Oehlschlägel oehl_list at gmx.de
Thu Jul 4 11:32:23 CEST 2002


I have a problem with receiving a full 8bit characterset from SJava.

My R has 
> Sys.getlocale()
[1]
"LC_COLLATE=German_Germany.1252;LC_CTYPE=German_Germany.1252;LC_MONETARY=C;LC_NUMERIC=C;LC_TIME=German_Germany.1252"

I have a Java application reading 8bitWestern Character including German
Umlauts.

I read data with SJava to R and some characters do not arrive as desired but
as 2Byte characters, I guess UTF-8. 

Example
a b c A B C ä ö ü Ä Ö Ü ß 
arrive as
a b c A B C ä ö ü Ä Ö Ü ß

Can someone give advice how to receive the characters correctly (and fast)?

Thanks


Jens Oehlschlägel


> version
         _              
platform i386-pc-mingw32
arch     i386           
os       Win32          
system   i386, mingw32  
status                  
major    1              
minor    5.1            
year     2002           
month    06             
day      17             
language R

-- 
GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.net

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list