Create the edit function to product register, and fix charset to utf-8.