One way to do this is to use the unicode escape sequences.
eg: \u00a9
would include the unicode character for the copyright symbol. You can
find the unicode values at www.unicode.org
> Does anyone know the secret to typing non-Latin-1 text into a
> Java program
> on Linux? I've tried everything I can think of, but so far
> Java programs
> stubbornly refuse to accept anything but Latin-1 characters from the
> keyboard.
>
> Here's my setup:
>
> Debian GNU/Linux (potato with some packages from unstable)
> Blackdown JDK 1.3 (I've also tried the IBM JDK 1.3)
>
> One of the languages I would like to be able to type is
> Greek, so I did
> the following:
>
> Added ISO-8859-7 fonts to font.properties
> Set the locale to el_GR
> Set up a Greek keymap with xkbsetmap
>
> I know that everything is set up properly on the X11 side because I've
> been able to type Greek characters in an xterm, but when I
> start up a java
> program and switch to the Greek keymap, it substitutes the
> upper half of
> Latin-1 rather than Greek characters.
>
> Is this possible, or am I banging my head against a brick wall?
>
----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]