Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Symbol charset

807569Jul 10 2006 — edited Jul 11 2006
I checked my font.properties file and it says:
dialog.0=Arial,ANSI_CHARSET
dialog.1=WingDings,SYMBOL_CHARSET
dialog.2=Symbol,SYMBOL_CHARSET

fontcharset.dialog.0=sun.io.CharToByteCp1252
fontcharset.dialog.1=sun.awt.windows.CharToByteWingDings
fontcharset.dialog.2=sun.awt.CharToByteSymbol
but when i see if the charset for the Symbol font is available
public class cSet {
	static Charset cs;
	 public static void main(String argv[])
	 {
		 boolean bool;
		 bool = cs.isSupported("SYMBOL_CHARSET");
		 System.out.println(bool);
	}
}
But the program prints out false.

Any ideas why? My basic problem is finding a mapping from the symbols to unicode values. Now, if I type in an Omega sign, i get a ? mark,

Thanks
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 8 2006
Added on Jul 10 2006
23 comments
392 views