Unicode characters in the ColdFusion CLIENT field

Can I store Unicode characters (utf-8) in the ColdFusion CLIENT scope? (CF9)

If I set the CLIENT region variable and immediately unload it, it looks fine. But when loading the next page (i.e. when the CLIENT area is read from the repository), I just see question marks for Unicode characters.

I am using a database to save, and the data column in the CDATA table is set to ntext.

Looking directly into the database, I see that the entries were not written correctly (again, only question marks showing Unicode characters).

+4
source share
1 answer

(From comments)

Have you checked / enabled the option String format --Enable High Ascii and Unicode ... "in your client data source?

From the docs :

Enable this option if your application uses Unicode data in DBMS-specific Unicode data types, such as a national character or nchar.

+1
source

Source: https://habr.com/ru/post/1484630/


All Articles