Java Forums

Main Menu
Home
Today's Posts
FAQ
Search
Contact Us

Java Network
Java Tips
Java Tips Blog

Sponsored Links





Welcome to the Java Forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community, you will:

  • have access to post topics
  • communicate privately with other members (PM)
  • not see advertisements between posts
  • have the possibility to earn one of our surprises if you are an active member
  • access many other special features that will be introduced later.

Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 11-17-2007, 06:37 AM
JT4NK3D's Avatar
Member
 
Join Date: Nov 2007
Posts: 50
JT4NK3D is on a distinguished road
Help unicode character
hi i'm trying to put a copyright © (alt+0169) character into my code , i checked everywhere they all say its \u00a9 but whenever it goes into my code it displays ⌐ (alt+169), as if they fergot a zero or sumthing... its been annoying me for a while i wanna get it straight.
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 11-17-2007, 09:10 AM
Member
 
Join Date: Nov 2007
Posts: 8
lk9865 is on a distinguished road
Example;
VBulletin, Copyright ©2000 - 2007, Jelsoft Enterprises Ltd.

Code:
System.out.print("VBulletin, Copyright"+"\u00a9"+"2000 - 2007, Jelsoft Enterprises Ltd.") //outputs //VBulletin, Copyright © 2000 - 2007, Jelsoft Enterprises Ltd.

Last edited by lk9865 : 11-17-2007 at 09:12 AM.
Bookmark Post in Technorati
Reply With Quote
  #3 (permalink)  
Old 11-17-2007, 04:24 PM
JT4NK3D's Avatar
Member
 
Join Date: Nov 2007
Posts: 50
JT4NK3D is on a distinguished road
I tried that, and using string and char variables for it, always puts a ⌐ character...
Bookmark Post in Technorati
Reply With Quote
  #4 (permalink)  
Old 11-18-2007, 08:55 AM
Member
 
Join Date: Nov 2007
Posts: 8
lk9865 is on a distinguished road
what IDE are you using? I dont think it matter anyways.
see if you can post your source code here.
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
TextArea with Unicode Java Tip javax.swing 0 04-16-2008 11:53 PM
Unicode problem rovshanb Database 0 02-14-2008 07:41 AM
reading text character by character bugger New To Java 2 11-09-2007 09:54 PM
Write unicode into file vata2999 New To Java 1 08-08-2007 04:04 PM
show special symbol using its Unicode character christina AWT / Swing 1 07-25-2007 10:21 AM


All times are GMT +3. The time now is 10:28 PM.


VBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2006 - 2007, www.java-forums.org