posted 21 years ago
I don't really know about encoding Hebrew text in a source file. In general, though, you might want to consider using resource bundles for static text. That will avoid this sort of problem.
If, however, you really need to be able to enter Hebrew text within the editor, this may help. I found it by searching on "text encoding" in the Help text:
"To change the encoding used by the Java editor to display source files:
With the Java editor open, select Edit > Encoding from the menu bar
Select an encoding from the menu or select Others and, in the dialog that appears, type in the encoding's name.
Note: this setting affects only the way the source is presented.
To change the encoding that the Java editor uses when saving files, specify a text file encoding preference on Window > Preferences > Workbench > Editors."
I hope this helps a little.
Joe