Hi Shai,
This is a keyboard mapping problem. You need a keymap that maps to Unicode
Hebrew. Otherwise you need to translate the keycodes inside your Java app.
The squares are the fonts way to indicate that you entered keymap value
outside of the range of the font. If I am not mistaken we use the keymap
from Pango.org for our testing for Sun. I can get you a precise answer
tomorrow.
- yba
On Tue, 11 Feb 2003, Shai Bentin wrote:
> Hi all, I hope any of you can help...
>
> I use mandrake. I'm programming something in java that needs to get input in
> hebrew.What happens is strange:
>
> Say I use, for example, a JtextField or JTextArea. I set the font, the default
> locale... everything supports hebrew. more over, I also do "setText" and put
> in unicode ("\u05d1\u05d2\u202c..."). When running I see the text in hebrew
> displayed in the text input field with no problem. However, when typing
> hebrew in the same field I see squares. When I type hebrew in other non java
> applications it works.
>
> it looks like Java doesn't map the key typed correctly?
>
> in windows I have no problem with it....
>
> I should mention I use linux with sdk1.4.1...
>
> Shai
>
> =================================================================
> To unsubscribe, send mail to [EMAIL PROTECTED] with
> the word "unsubscribe" in the message body, e.g., run the command
> echo unsubscribe | mail [EMAIL PROTECTED]
>
>
--
EE 77 7F 30 4A 64 2E C5 83 5F E7 49 A6 82 29 BA ~. .~ Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
- [EMAIL PROTECTED] - tel: +972.2.679.5364, http://www.tkos.co.il -
=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]