Resolves: #1201310
CVE-2014-9488
This is an update of previous patch.
The function is_utf8_well_formed was defined in charset.c with single parameter. I was surprised, that it is even compiling.
This new patch is updating own implementation of function is_utf8_well_formed and fixing also its other use. The code is taken from Mark Nudelman's unreleased version of less.