Are you manually typing this in, or copy'n'pasting it?

It sounds like you have a problem with the udfFixField() function.
Code:
Function udfFixField($s)
$udfFixField=',"'+Join(Split($s,'"'),'""')+'"'
EndFunction



It's a little hard to see on the BB if you are typing in manually, so I'll recolour the quotes to make it obvious:
$udfFixField=',"'+Join(Split($s,'"'),'""')+'"'

I've tested the script locally with your sample input file, so I know it works.

If you are copying via Word to preserve the formatting, make sure it is not doing anything stupid like "smart-quoting" the pasted text.

Which version of KiXtart are you using?