Hi,
My users are sometimes pasting "funny" quotation marks into their FCKEditor, also some kind of
elongated hypen. How can I filter these out before writing the user input to mySQL?
Obviously I could filer each one out, but I rather like something more generic.
--
zzapper (vim, cygwin, wiki & zsh)
vim -c ":%s%s*%Cyrnfr) fcbafbe[Oenz(Zbbyranne% |:%s)[[()])-)Ig|norm Vg?"
http://www.rayninfo.co.uk/tips/ vim, zsh & life tips
My users are sometimes pasting "funny" quotation marks into their FCKEditor, also some kind of
elongated hypen. How can I filter these out before writing the user input to mySQL?
Obviously I could filer each one out, but I rather like something more generic.
--
zzapper (vim, cygwin, wiki & zsh)
vim -c ":%s%s*%Cyrnfr) fcbafbe[Oenz(Zbbyranne% |:%s)[[()])-)Ig|norm Vg?"
http://www.rayninfo.co.uk/tips/ vim, zsh & life tips
Comment