#8 UnicodeDecodeError in hnj hyphenator

closed-wont-fix
nobody
None
5
2008-09-14
2008-09-13
No

Submitted by Roberto Alsina:

A UnicodeDecodeError exception is raised somewhere in the HNJ-based hyphenator code (I don't have an example at hand).

Discussion

  • H. von Bargen

    H. von Bargen - 2008-09-13

    I tested the following:
    c:\python25\python PyHnjHyphenator.py -v Prüfung
    This worked fine. However, if I set purePython=False in the constructor at the end of the file, then I get a UnicodeDecodeError, followed by an GPF (on windows).

    A much better native hyphenation is pyhyphen (http://pypi.python.org/pypi/PyHyphen).
    It is licensed under GPL 2, however. I'll try adding support for it.

     
  • H. von Bargen

    H. von Bargen - 2008-09-14
    • status: open --> closed-wont-fix
     
  • H. von Bargen

    H. von Bargen - 2008-09-14

    Please try the new pyhyphen-based hyphenator (SVN revision 19) instead of PyHnjHyphenator.
    It works much better for me.

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks