Modify json error for web_setup.json.
Add encoding attribute for create_database.rb.