I wonder how many more languages (beside Hebrew) are affected by this...
Ilan Shavit (Hebrew) posted about an OpenOffice.org "freeze" and a workaround:
A quick test on one of my computers:
Ilan Shavit (Hebrew) posted about an OpenOffice.org "freeze" and a workaround:
- Whenever someone started writing something in Hebrew in an OO.o session there was a noticeable freeze of the application for several seconds. After this first freeze everything would be back to normal and you could open/edit/close Hebrew documents without further freezes.
- Ilan pointed to a thread in some local (Hebrew) forum containing somewhere a link to improved Hebrew myspell dictionary. (prepared by the good guys from Tk Open Systems that work on improving Hebrew support in OO.o on behalf of the Israeli government).
A quick test on one of my computers:
- Run oowriter, started writing the word שלום (Peace in Hebrew). It freezes after the second letter.
- Close oowriter and repeat step 1 three times (to eliminate caching effects).
- Measured the freeze -- it lasted for about 10 seconds.
- Replace he_IL.aff and he_IL.dic with the "fixed" ones.
- Repeating step 1 now freeze for less than 1 second. WOW!
- What is the exact conversion process? The .aff file is textual, so it's easy with iconv(1), however I don't know the myspell toolchain (maybe translate-toolkit has the correct tools, didn't check).
- Do other languages have similar problems? Maybe only CTL languages affected?
- How hard it would be for package maintainers to fix this until upstream rolls it out?
I wonder if the problem is charset converting or something similar.
השבמחקAnyway, isn't it a good thing to report the way it work as a bug to see maybe it is a bug that can be fixed ?
The problem was solved by TkOS people,
השבמחקso it looks to me they are the best people
to open a new issue if one is needed.
Alan Yaniger here:
השבמחקRegarding your question about the conversion process:
1) I opened the files in yudit as ISO-8859-8, then saved them as UTF-8
2) I changed the first line of he_IL.aff to SET UTF-8 instead of "SET ISO-8859-8". (I'm not looking at the file now, so forgive me if I don't remember the exact syntax.)
That's it.
By the way, I posted the new dictionary to the OOo issue tracker, so it will be available through the main OOo site.
השבמחקThe link is:
http://www.openoffice.org/issues
/show_bug.cgi?id=105490