Results 1 to 2 of 2
  1. #1
    romina is offline Member
    Join Date
    Jul 2007
    Posts
    26
    Rep Power
    0

    Default Problem with display the character

    I am attempting to display the sign, character 0163 in Unicode, via System.out.print to the console in windows, however i am greeted by the character whenever i try.

    I can only deduce that there is some sort of character encoding conflict, but I am fairly new to java and have no idea how to rectify the problem, can anyone shed some light on it?
    Thanks

  2. #2
    Seemster is offline Member
    Join Date
    Jul 2007
    Posts
    55
    Rep Power
    0

    Default

    Give this a shot...

    char c = '\u00A3';
    System.out.println(c);

Similar Threads

  1. Replies: 17
    Last Post: 07-13-2009, 05:44 AM
  2. Replies: 1
    Last Post: 01-15-2008, 08:55 PM
  3. reading text character by character
    By bugger in forum New To Java
    Replies: 2
    Last Post: 11-09-2007, 08:54 PM
  4. Problem with display in Netbeans 5.5
    By Albert in forum NetBeans
    Replies: 1
    Last Post: 07-13-2007, 03:33 PM
  5. Problem with '/' character in HTML and JSP
    By Marcus in forum JavaServer Pages (JSP) and JSTL
    Replies: 2
    Last Post: 07-04-2007, 05:32 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •