There is a problem with quotation marks at client name. I think you need to use php’s htmlspecialchars()
function with UTF-8 support on that input field.
The problem itself apears when you save the name for example ’ “Example comany” INC’ and then go back to edit function. You can see that the name is only “INC” - without quotation marks.