Character Entities
G'day all;
i'm constructing a program that will tell the user properties of a given quadratic, using the parameters a, b, and c. (ax2 + bx + c). i'm finished the programming aspect, although in my range method, i'm unable to find the character entity code for "ER" in {y|yER}. I hope someone knows what i'm talking about. It took me a while to find out the code for a superscript 2. Any help?
You mean "the set of all y where y is a member of R"?
Here's a link to the Unicode code charts, at least to the part which describes symbols:
http://www.unicode.org/charts/symbols.html
There's a bunch of pages with "math" in their names, both the "is a member of" and the "fancy R denoting the real numbers" symbols should be somewhere in those pages. Bear in mind that not all fonts may not be able to render those symbols.
If the hexadecimal representation of a character is "abcd" then you can put a Unicode escape in your Java code, looking like this:String thatChar = "\uabcd";
If you want a character that isn't in the BMP (Basic Multilingual Plane, I think) then you have to be using Java 5 and then I think you can put up to six hexadecimal characters in a Unicode code. I think.