dcsimg

How can I make a TextField accept and display ASCII characters like the smiley?

John Zukowski

Java uses the Unicode character encodings. While 0-127 map directly from Unicode to ASCII, how they display may appear different. For instance, while u0001 might appear as a smiley face under ASCII, the smiley face isn't in the Unicode code chart. You can use the UnicodeDisplay example from Java Examples in a Nutshell (http://www.oreilly.com/catalog/jenut/examples/UnicodeDisplay.java) to see exactly what characters are available for display.