Re: SJIS and Java properties files not displaying on SuSE 10.0. Help!

"Stephen Holmes" <[email protected]>
Newsgroups gmane.linux.suse.m17n
Message-ID <[email protected]>
Cory,

You need to use the ja_JP locale, JPN is an older Microsoft locale
naming convention.

S.


On Wed, 2006-02-22 at 19:30 +0000, "Whitney, Cory"  wrote:
> Hi,
> 
>  
> 
> I am running jre1.5.0_06 on SuSE 10.0 w/ gnome desktop.
> 
>  
> 
> I need to enable a Java app to display the JPN characters correctly.
> Locale is set to JPN.  Now they come up as boxes.
> 
>  
> 
> The properties files containing the strings have the JPN characters as
> Shift-Jis (SJIS)-encoded escape characters.  This works on the Windows
> side, and I can't have separate string-Properties files for Win and
> Linux, so I am hoping we can make these work on both platforms.
> 
>  
> 
> My assumption is I need a modified font.properties file to correctly
> display the strings.
> 
>  
> 
> I have tried modifying the fontconfig.SuSE.properties.src file to
> contain the information needed to map to the JPN fonts on the system,
> but unsuccessfully.
> 
>  
> 
> I have also tried adding in the font.properties.ja.SuSE into the
> directory /usr/java/jre1.5.0_06, which I downloaded from:
> ftp://ftp.suse.com/pub/people/pmladek/java/font.properties. I also tried
> changing the name of  font.properties.ja.SuSE to
> fontconfig.SuSE.properties.ja.src, but that made no difference.
> 
>  
> 
> I have downloaded the kochi - substitute rpm and installed it.  I also
> made copies of the kochi-mincho-subst.ttf  and kochi-gothic-subst.ttf
> and renamed them kochi-mincho.ttf  and kochi-gothic.ttf.
> 
>  
> 
> Another thing I tried was using the font properties file/font from Marco
> Walther
> (http://blogs.sun.com/roller/page/marcoscorner?entry=creator_java_se_and
> _asian). But no luck there either...
> 
>  
> 
> One thing I have noticed: the (r) character (\u00ae) is showing up
> fine... 
> 
>  
> 
> I am also having the same sort of trouble getting the CHS and CHT to
> display.
> 
>  
> 
>   - Also, I have searched for bug/documentation about this, but couldn't
> locate it.  It would be helpful to have something to buy me a little
> more time on this project...  Please let me know if there are any
> disclaimers of CJK support for jre1.5.0_06/SuSE that you know of...
> 
>  
> 
> Any insight would be greatly appreciated!
> 
>  
> 
> P.S - this is my first time working with Linux, so if I am missing
> something painfully obvious, go easy on me ;-)
> 
>  
> 
> Thanks!
> 
>  
> 
> 
> 
> Cory Whitney
> 
>  
> 
-- 

S t e p h e n   H o l m e s
[email protected]

Tel: +353-1-605-8087 (Office)
Tel: +353-1-605-8000 (Reception)
Tel: +353-86-833-5027 (cell)

Novell, Inc. Software for the Open Enterprise.
www.novell.com


-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.