Re: Using unicode in a Java program

2000-07-20 Thread addison
Whups! My fat fingers typed "John O'Connor" yesterday when I meant to type "John O'Conner"... typing the "o-ful" version does really limit the results that you get on the Javasoft web site search I proposed. My appologies to John for the renaming! Addison

Using unicode in a Java program

2000-07-19 Thread William Overington
I am learning to program in Java and wonder if someone could kindly point me in the right direction as to how I can get unicode character codes into my programs please. I have written various applets on non-unicode topics and got them to work successfully. I am aware that Java uses unicode for

Re: Using unicode in a Java program

2000-07-19 Thread addison
There are several ways to get Unicode characters into your Java programs. You are correct in that you can use \u to represent any Unicode character. You put the escape sequence anywhere that you would put a single character like "a" (so it goes inside the quotation marks). If you can type

Re: Using unicode in a Java program

2000-07-19 Thread Markus Scherer
William Overington wrote: (hexadecimal) 109. From something I saw a long time ago, before I started learning Java, I think that I need to put something like \u0109 into the program somewhere, though whether it is \u0109 or "\u0109" in quotation marks or whatever I do not know. you got it.