Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #16214

Re: problem with java displaying unicode, under ms-windows

From Philip Brown <phil@bolthole.com>
Newsgroups comp.lang.java.programmer
Subject Re: problem with java displaying unicode, under ms-windows
Date 2012-07-22 05:47 -0700
Organization http://groups.google.com
Message-ID <f85d7cfb-d08e-4a43-860b-63f929397380@googlegroups.com> (permalink)
References <096d855d-7df4-4591-a498-818ae0bb193c@googlegroups.com> <s8qn081faurc4buuoumujbcoc3ngpnvs62@4ax.com>

Show all headers | View raw


On Sunday, July 22, 2012 4:53:31 AM UTC-7, rossum wrote:
> &gt;http://bolthole.com/jdrill/jdrill2_3_1.jar
> &gt;
> &gt;The program itself works; I know this, because it displays fine under macos.
> &gt;Unfortunately, the exact same jar file displays empty boxes instead of nice kanji chars, under ms-windows. Using java version 6 or 7.
>...
> Does your Windows font have those kanji characters available?  The box
> character is a replacement for &quot;I do not have this character available
> in the font you specify so I will show this box instead&quot;.  Try
> changing your Windows font to one which includes the required kanji
> characters.
> 

That's what I'm trying to do: have the jre change which font it uses for the unicode->local font mapping.
Unfortunately, there are no directions for this. And even me poking around behind the scenes, suggests that it already should be doing the "correct" mapping. The default seems like it should be using the already-installed fonts.

Except it isnt.

Could someone who knows about these things, and is currently running ms-windows, please take a moment to download the program and verify that java on windows isnt working right, and how to fix it?

It works out of the box in macos.
It works out of the box in solaris.
Therefore, seems like my program is fine, but there's something wrong with the java 7 setup on ms-windows.

Contrariwise, if you still think it's my program that is broken: please provide a java program that I can freely download and run, that will show unicode chars in a GUI window. I havent found any third party test cases, which is why a long time ago, I wrote my own trivial little unicode GUI tester class.
( http://www.bolthole.com/java/unicode)

All the examples for "java unicode" I've found, merely use System.out.println().  Not what is needed here!!

Back to comp.lang.java.programmer | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

problem with java displaying unicode, under ms-windows phil@bolthole.com - 2012-07-21 22:31 -0700
  Re: problem with java displaying unicode, under ms-windows Lew <noone@lewscanon.com> - 2012-07-21 23:48 -0700
    Re: problem with java displaying unicode, under ms-windows Philip Brown <phil@bolthole.com> - 2012-07-22 05:00 -0700
      Re: problem with java displaying unicode, under ms-windows Lew <noone@lewscanon.com> - 2012-07-22 13:15 -0700
  Re: problem with java displaying unicode, under ms-windows rossum <rossum48@coldmail.com> - 2012-07-22 12:53 +0100
    Re: problem with java displaying unicode, under ms-windows Philip Brown <phil@bolthole.com> - 2012-07-22 05:47 -0700
      Re: problem with java displaying unicode, under ms-windows markspace <-@.> - 2012-07-22 08:46 -0700
  Re: problem with java displaying unicode, under ms-windows Knute Johnson <nospam@rabbitbrush.frazmtn.com> - 2012-07-22 09:22 -0700
    Re: problem with java displaying unicode, under ms-windows Philip Brown <phil@bolthole.com> - 2012-07-22 09:55 -0700
      Re: problem with java displaying unicode, under ms-windows markspace <-@.> - 2012-07-22 10:10 -0700
        Re: problem with java displaying unicode, under ms-windows Philip Brown <phil@bolthole.com> - 2012-07-22 10:37 -0700
          Re: problem with java displaying unicode, under ms-windows markspace <-@.> - 2012-07-22 11:31 -0700
            Re: problem with java displaying unicode, under ms-windows Philip Brown <phil@bolthole.com> - 2012-07-22 11:40 -0700
          Re: problem with java displaying unicode, under ms-windows markspace <-@.> - 2012-07-22 11:47 -0700
          Re: problem with java displaying unicode, under ms-windows Philip Brown <phil@bolthole.com> - 2012-07-22 12:09 -0700

csiph-web