From:             [EMAIL PROTECTED]
Operating system: Linux 2.4.7 (RH7.2)
PHP version:      4.1.0
PHP Bug Type:     Pspell related
Bug description:  Pspell ceases to work on upgrade from 4.0.6 to 4.1.0

'./configure' '--with-mysql=/usr/local/mysql' '--with-apxs' '--enable-wddx'
'--with-sablot' '--with-pspell=/usr/local/share'
'--enable-force-cgi-redirect' '--with-gettext '--with-ldap'

Worked in 4.0.6 but not in 4.1.0

Warning: PSPELL couldn't open the dictionary. reason: I'm sorry I can't
find any suitable word lists for the language-tag "en".

$pspell_link = pspell_new ("en");

if (!pspell_check ($pspell_link, "testt")) {
    $suggestions = pspell_suggest ($pspell_link, "testt");

    foreach ($suggestions as $suggestion) {
        echo "Possible spelling: $suggestion<br>";
    }
}

-- 
Edit bug report at: http://bugs.php.net/?id=14457&edit=1


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to