To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=76414
                 Issue #|76414
                 Summary|Non-breaking hyphens are stripped before spellchecking
               Component|Word processor
                 Version|current
                Platform|PC
                     URL|
              OS/Version|Linux
                  Status|UNCONFIRMED
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P4
            Subcomponent|code
             Assigned to|mru
             Reported by|hatapitk





------- Additional comments from [EMAIL PROTECTED] Mon Apr 16 16:22:19 +0000 
2007 -------
In Finnish, HYPHEN-MINUS is a word character, and current OpenOffice.org 
correctly handles it as such (see issue #58513). We have recently discussed 
this at [EMAIL PROTECTED] and concluded that the behaviour should be 
extended to cover NON-BREAKING HYPHEN as well.

But after experimenting with such change I discovered that non-breaking 
hyphens are completely stripped from words before they are send to the 
spellchecking component for processing. Steps to reproduce:

- Add [:name = NON-BREAKING HYPHEN:] to $ALetter in 
i18npool/source/breakiterator/data/dict_word_fi.txt and 
i18npool/source/breakiterator/data/count_word_fi.txt

- Enter "Kaakkois-Suomi" in Writer using HYPHEN-MINUS as the hyphen
  -> spellchecker component receives word "Kaakkois-Suomi"; this is OK.

- Enter "Kaakkois-Suomi" in Writer using NON-BREAKING HYPHEN as the hyphen
  -> spellchecker component receives word "KaakkoisSuomi". This is wrong, I 
would expect to get "Kaakkois-Suomi" (maybe with the non-breaking hyphen 
converted to an ordinary hyphen).

It seems like the same bug is present in the hyphenator as well, although 
there it is less likely to cause any real problems.

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to