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


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

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

Path csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!eternal-september.org!feeder.eternal-september.org!mx04.eternal-september.org!.POSTED!not-for-mail
From markspace <-@.>
Newsgroups comp.lang.java.programmer
Subject Re: problem with java displaying unicode, under ms-windows
Date Sun, 22 Jul 2012 08:46:27 -0700
Organization A noiseless patient Spider
Lines 49
Message-ID <juh78n$h0n$1@dont-email.me> (permalink)
References <096d855d-7df4-4591-a498-818ae0bb193c@googlegroups.com> <s8qn081faurc4buuoumujbcoc3ngpnvs62@4ax.com> <f85d7cfb-d08e-4a43-860b-63f929397380@googlegroups.com>
Mime-Version 1.0
Content-Type text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding 7bit
Injection-Date Sun, 22 Jul 2012 15:46:31 +0000 (UTC)
Injection-Info mx04.eternal-september.org; posting-host="61282af8d6595e8d991edb5ac03d6e00"; logging-data="17431"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/z0TZXZJydscAtcZck7oLWXnxJKjWiet4="
User-Agent Mozilla/5.0 (Windows NT 6.1; WOW64; rv:14.0) Gecko/20120713 Thunderbird/14.0
In-Reply-To <f85d7cfb-d08e-4a43-860b-63f929397380@googlegroups.com>
Cancel-Lock sha1:EGYcgi7D4qxtB/ZnAi3w4LBIP2Y=
Xref csiph.com comp.lang.java.programmer:16218

Show key headers only | View raw


On 7/22/2012 5:47 AM, Philip Brown wrote:

> Could someone who knows about these things, and is currently running
> ms-windows, please take a moment to download the program and verify


I don't download code, as a rule.  Can you produce a simple, short, 
complete, compilable example that prints a few characters from the range 
you are interested in, and post the source here?  That I will look at.


> Contrariwise, if you still think it's my program that is broken:
> please provide a java program that I can freely download and run,


This works for me:

package quicktest;

import javax.swing.JFrame;
import javax.swing.JTextArea;
import javax.swing.SwingUtilities;

/**
  *
  * @author Brenden
  */
public class UpperCodepoint {

    public static void main(String[] args) {
       SwingUtilities.invokeLater(new Runnable() {
          public void run() {
             StringBuilder stb = new StringBuilder();
             stb.appendCodePoint(0x20FF0);
             JFrame frame = new JFrame();
             JTextArea ta = new JTextArea();
             frame.add(ta);
             ta.setText(stb.toString());

             frame.pack();
             frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
             frame.setLocationRelativeTo(null);
             frame.setSize(500, 500);
             frame.setVisible(true);
          }
       });

    }
}

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