Hi everyone,
When OpenOffice saves a file with Hebrew in the filename, it checks the
system locale to see which encoding it should use. This causes problems
if OpenOffice is run with a shell using an "en_US" locale. If a user
saves a file with Hebrew in the filename, closes the file, and then
tries to open it in a filepicker window, the Hebrew is not readable.
In order to deal with this, I've changed the OOo startup script so that
it sets the LANG variable to "he_IL" before running OOo, and then
changes it back when exiting. This makes Hebrew filenames readable in
OOo filepicker windows. I've also added an enviornment variable called
OO_LOCALE, which allows a user to change the default from "he_IL" to
something else ("he_IL.utf8", for example), so that the Hebrew will be
readable in other apps, like file managers.
This is very easy to do if you run OOo from a command line. First set
OO_LOCALE, then run OOo. My question is: how I can have the OO_LOCALE
variable recognized by the OOo startup script when I run OOo from the
applications menus?
Thanks in advance,
Alan
=================================================================
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]