← Back to team overview

translators-packages team mailing list archive

[Bug 1107859] Re: Hyphenation doesn't work in Russian text

 

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
Translators Packages, which is subscribed to hyphen-ru in Ubuntu.
https://bugs.launchpad.net/bugs/1107859

Title:
  Hyphenation doesn't work in Russian text

Status in hyphen-ru package in Ubuntu:
  Incomplete

Bug description:
  there is hyph_ru_RU.dic in the /usr/share/hyphen folder. but russian
  hyphenation doesn't work

  debian/patches/dont-include-hyphenation-patterns.patch excluded
  hyphenation files from Ubuntu Firefox build

  everything works when I extract hyphenation folder from omni.ja file
  (from original Firefox tarball) and move it content to the
  /usr/share/hyphen/

  check you current hyphen. status http://hyphenator.googlecode.com/svn/dictChecker.html
  --- 
  ApportVersion: 2.8-0ubuntu2
  Architecture: amd64
  DistroRelease: Ubuntu 13.04
  InstallationDate: Installed on 2012-11-09 (81 days ago)
  InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Release amd64 (20121017.5)
  MarkForUpload: True
  Package: openoffice.org-hyphenation 0.6
  PackageArchitecture: all
  ProcVersionSignature: Ubuntu 3.8.0-2.6-generic 3.8.0-rc4
  Tags:  raring running-unity
  Uname: Linux 3.8.0-2-generic x86_64
  UpgradeStatus: Upgraded to raring on 2012-12-06 (53 days ago)
  UserGroups: adm lpadmin sambashare sudo

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