No, Gunnar, your file produces the same erroneous hyphenation as the
original one.

But I think I know now, what is going wrong. The dictionary provided in
hyphen-ru package (and yours, too) is in the old single-byte encoding
KOI8-R. Firefox does check the encoding (given in the first line of the
dictionary file), but calculates the offset of the hyphen position in
bytes instead of Unicode characters (or the other way round, I'm not yet
sure).

So, if we take the stock hyph_ru_RU.dic from the Ubuntu package hyphen-
ru, convert it to UTF-8 and edit the first line from 'KOI8-R' to
'UTF-8', Firefox hyphenates the text correctly.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1107859

Title:
  Hyphenation doesn't work in Russian text

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/hyphen-ru/+bug/1107859/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to