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


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

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

From rossum <rossum48@coldmail.com>
Newsgroups comp.lang.java.programmer
Subject Re: problem with java displaying unicode, under ms-windows
Date 2012-07-22 12:53 +0100
Message-ID <s8qn081faurc4buuoumujbcoc3ngpnvs62@4ax.com> (permalink)
References <096d855d-7df4-4591-a498-818ae0bb193c@googlegroups.com>

Show all headers | View raw


On Sat, 21 Jul 2012 22:31:30 -0700 (PDT), phil@bolthole.com wrote:

>Hi folks,
>I'm hoping someone can tell me the magic to get java (6 or 7) to display unicode chars under ms-windows?
>
>This is a standalone program, not an applet:
>
>http://bolthole.com/jdrill/jdrill2_3_1.jar
>
>The program itself works; I know this, because it displays fine under macos.
>Unfortunately, the exact same jar file displays empty boxes instead of nice kanji chars, under ms-windows. Using java version 6 or 7.
>
>Looking in the font properties type files, it seems like they are referencing ms-gothic and ms-mincho fonts. which ARE present on the system.
>I see ms-gothic and ms-mincho in Control panel->fonts
>And my browser successfully displays unicode pages such as
>http://www.mainichi.co.jp/
>
>So... why isnt java displaying unicode properly???
>
>Some years ago, it was neccessary to download a special "international" version of java on windows, to display 16-bit-wide fonts.
>but there does not even seem to be that option any more.
>So.. what should I do?
Does your Windows font have those kanji characters available?  The box
character is a replacement for "I do not have this character available
in the font you specify so I will show this box instead".  Try
changing your Windows font to one which includes the required kanji
characters.

rossum

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