I insert my data into mysql db with this code:
(From comments ...)
Check the charset of your column or table. Make sure it supports unicode characters. For example, UTF-8:
CREATE TABLE ( name varchar(500) CHARSET UTF8, ....)
Also, instead of using N'literal' syntax, you may as well use the new cfsqltype cf_sql_nvarchar
. With those changes, it should work fine.
INSERT INTO ad ( name )
VALUES
(
)
Side note - Nothing to do with your question, but cfprocessingdirective
has no effect here. It is used when you need to embed, or hard code, Unicode characters within a CF script. Since you are not doing that, you do not need it.