To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=99215
                 Issue #|99215
                 Summary|Odd XHyphenator output for Unicode hyphenation pattern
                        |s
               Component|lingucomponent
                 Version|OOo 3.0
                Platform|Unknown
                     URL|
              OS/Version|All
                  Status|UNCONFIRMED
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|other
             Assigned to|iss...@lingucomponent
             Reported by|akrioukov





------- Additional comments from akriou...@openoffice.org Sat Feb 14 04:42:38 
+0000 2009 -------
I have converted hyphenation patterns for Russian to UTF-8 and experimented a
bit with LinguServiceManager. My Basic code was quite simple:

Sub Main
        Dim oLSM As Object, oWord As Object
        Dim aRussian as New com.sun.star.lang.Locale
        Dim aProps(1) as New com.sun.star.beans.PropertyValue

        oLSM = CreateUnoService("com.sun.star.linguistic2.LinguServiceManager")
        oHyph = oLSM.getHyphenator()
        
        aRussian.Language = "ru"
        aRussian.Country = "RU"
        
        oWord = oHyph.createPossibleHyphens("тринитротолуол",aRussian,aProps)
        print oWord.getPossibleHyphens()
End Sub

This code prints some garbage at the end of the hyphenated word (there is no
such problem in case of KOI8-R patterns). Apparently the hyphenator still
determines the string length counting bytes (not characters).

---------------------------------------------------------------------
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: issues-unsubscr...@lingucomponent.openoffice.org
For additional commands, e-mail: issues-h...@lingucomponent.openoffice.org


---------------------------------------------------------------------
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org

Reply via email to