When an error appears in the charset of the special characters as in the image below:

![](https://desk.zoho.com/DocsDisplay?zgId=716875472&mode=inline&blockId=lgb5f8d39d8fd23f94639b3f7b688bca727d6)

  

This happens when the database charset and the script case charset are not the same but we can no longer edit it in the database.

We use the following code in the **OnRecord** event of the grid.

**{field} = mb\_convert\_encoding ({field}, 'utf-8');**  
  
For example:

![](https://desk.zoho.com/DocsDisplay?zgId=716875472&mode=inline&blockId=lgb5f7a8e9f3226c6408996318ba8df64c4ee)

  

and will result in:

![](https://desk.zoho.com/DocsDisplay?zgId=716875472&mode=inline&blockId=lgb5fd6d213f52f4e4e9bb3d34b376b2c9b6e)