If you don't already know the Unicode values of the character you want to represent, Java
does have the ability to convert from a variety of other encodings. You would need to know
some way of representing "Salam" in a text file of some sort - preferably using one of these
encodings. And you'd need to know which encoding had been used. Let's say you have a file saying "Salam" using Cp420, which is IBM Arabic. Then, to read the file contents and convert them to a Unicode String:
There are several classes that allow you to specify encoding conversions like this - InputStreamReader, OutputStreamReader, String (in some constructors and in getBytes()), Channels (newReader() and newWriter()). Which you use depends on whether you are using streams, byte arrays, or channels. Hope that helps.
[ August 20, 2002: Message edited by: Jim Yingst ]