Re: [OOo-Hebrew] Hebrew encoding in Openoffice 2.2 from OOo.org.il

Alan Yaniger <[email protected]> Sun, 28 Oct 2007 09:13:59 +0200
Newsgroups gmane.comp.openoffice.hebrew
Message-ID <[email protected]>
Hi Yonatan,


I'm not sure.


If you don't set OO_LOCALE, OOo uses the locale settings of the 
environment it runs in.

If you set OO_LOCALE to "he_IL.utf8", while you system locale is 
"en_US", for example, the startup does an "export LANG=he_IL.utf8" when 
you start up OOo, and then an "export LANG=en_US" when OOo exits.


Perhaps people who use an "en_US" system locale might have good reasons 
to want to leave it that way for the OOo process. Or maybe, it's 
irrelevant. I don't know.


Alan


Jonathan Ben Avraham wrote:

> Hi Alan,
> Maybe export OO_LOCALE=he_ILutf8 should be the default?
>
>    - yba
>
>
> On Sun, 28 Oct 2007, Alan Yaniger wrote:
>
>> Date: Sun, 28 Oct 2007 08:28:20 +0200
>> From: Alan Yaniger <[email protected]>
>> To: Micha Silver <[email protected]>
>> Cc: [email protected]
>> Subject: Re: [OOo-Hebrew] Hebrew encoding in Openoffice 2.2 from 
>> OOo.org.il
>>
>> Hi Micha,
>>
>> In Tkos 2.2 OOo, you can read files with names in UTF-8 encoding. Set 
>> the OO_LOCALE environment variable to "he_ILutf8" and then start OOo 
>> (in a process which uses that environment).
>>
>> See paragraph 3.3 at:
>>
>> http://openoffice.org.il/forum/viewtopic.php?t=373&highlight=oolocale
>>
>> If you want to duplicate the behavior on other versions of OOo, take 
>> a look at the "soffice" startup script, and modify your soffice 
>> script accordingly.
>>
>> Alan
>>
>> Micha Silver wrote:
>>> I've just noticed a problem with the version 2.2 file dialogs on a 
>>> Linux machine. It seems that the File->Open and File->Save (as well 
>>> as the templates) dialogs expect files and directories encoded in 
>>> Windows-1255. So directories created with konqueror, or on the CLI 
>>> which all use UTF-8 today, appear in the Openoffice.org.il dialogs 
>>> as gibberish. And files created by Openoffice.org.il appear as 
>>> question marks in any other interface.
>>>
>>>
>>> The Fedora supplied rpms didn't show this behavior.
>>>
>>>
>>> Is this by design? Is there a work-around to get OOo.org.il dialogs 
>>> to use UTF-8?
>>>
>>> Thanks,
>>>
>>> Micha
>>>
>>
>> -- 
>> Hebrew OpenOffice Mailing List [email protected]
>> To unsubscribe see: http://openoffice.org.il/mailman/listinfo/hebrew
>>
>

--
Hebrew OpenOffice Mailing List [email protected]
To unsubscribe see: http://openoffice.org.il/mailman/listinfo/hebrew