I have a problem with character encoding using swing on Java. I want to write this character:
\"\\u2699\"
That is a gear on a simple JButt
As @Andreas points out, the button needs to be set to use a font that supports this Unicode value. For sorting out compatibility issues such as this one, fileformat.info is a great resource. Here is the list of fonts known to support the Gear character. These include for example DejaVu Sans and Symbola.