I have successfully created a custom content menu, but unfortunately when i try to insert or edit new content item i get for foreign characters utf-8 (???). Any idea what could it be wrong?
This shouldn’t be a problem. There are a couple of things to look for;
Is your MySQL using UFT-8 encoding? eg:
Does your Datasource connection string have ?characterEncoding=UTF-8 on it?
In Lucee it’s here (see below) and on Coldfusion you’ll need to add in under Advanced in the specific datasource setup.
what does your custom content type look like? I always use type=“nstring” for string fields so that the database uses nvarchar (on MSSQL) field types. This ensures that these types of characters are handled properly.