[dokuwiki] Re: spellchecker still buggy

Sorry for the delay, had an unusually busy morning.

Not sure I've understood correctly; anyway here goes.  I changed line
129 of Spellcheck.php in dokuwiki-2005-06-27 from 
  for($i=$rcnt; $i>=0; $i--){
to
  //for($i=$rcnt; $i>=0; $i--){

Then I created a test 'start' page (saved as UTF-8), ran the
spellchecker on this (the icon just turned from red to green, no
flashing command prompt so I don't think Aspell was called).  The
original and the resulting files are attached (zipped so as to do
nothing to the encoding)

- start.txt (page after spellcheck)
- start_original (copy of page before spellcheck)

I get the impression I've missed something very simple here - sorry in
advance, I'll try harder next time.

Chris

Christopher MC CARTHY
Technical Communicator
CertEx
GL TRADE Headquarters
42 Rue Notre Dame des Victoires
F-75002 Paris
+33 1 53 40 00 00 (switchboard)
+33 1 53 40 01 16 (direct line)
www.gltrade.com

-----Original Message-----
From: dokuwiki-bounce@xxxxxxxxxxxxx
[mailto:dokuwiki-bounce@xxxxxxxxxxxxx] On Behalf Of Andreas Gohr
Sent: 28 June, 2005 21:22
To: dokuwiki@xxxxxxxxxxxxx
Subject: [dokuwiki] Re: spellchecker still buggy


Andreas Gohr <andi@xxxxxxxxxxxxxx> wrote:

> I just found another bug in the spellchecker. The following breaks
> with Aspell 0.60.3-20050121 and en as language. All in one line:

fixed that one. It was a bug with UTF-8 handling in the spaceslink
function.

This probably does not fix FS#428. I added a (commented line) to debug
raw aspell output. Christopher could you comment in the debug line in
129 of lib/exe/spellchecker.php and check send us the output? You should
- if possible - use a very short text with just one or two errors which
breaks for you. Please send your input and the raw aspell output as two
separate textfiles. It's important to save both files with UTF-8
encoding to make sure charcounts are preserved.

Andi



This email communication is confidential and is intended solely for whom it is 
addressed. Copying, or re-using in any way by anyone else is unauthorised. Any 
views or opinions expressed are those of the author and do not necessarily 
represent those of GL TRADE or any of its affiliates. 

If you have received this mail in error, please destroy the copy in your 
possession and notify abuse@xxxxxxxxxxx


This email communication is confidential and is intended solely for whom it is 
addressed. Copying, or re-using in any way by anyone else is unauthorised. Any 
views or opinions expressed are those of the author and do not necessarily 
represent those of GL TRADE or any of its affiliates. 

If you have received this mail in error, please destroy the copy in your 
possession and notify abuse@xxxxxxxxxxx


Other related posts: