gpt4 book ai didi

coldfusion - Mura 6 - 日语字符保存为问号

转载 作者:行者123 更新时间:2023-12-04 00:53:10 25 4
gpt4 key购买 nike

我安装了 Mura 6。

在新页面创建/更新时,日本字符未从 Mura 管理员保存。

我已将 tcontent 表从 text 更改为 nvarchar 并尝试使用日语文本从 SSMS 执行插入查询,它确实保存了文本现在为日语。

update tcontent set body = N'japanese-text' where id = 123;

我找不到插入/更新查询文件,我需要将前缀 N 保存为 nvarchar

我需要在何处更改 Mura 代码查询或如何让它接受非拉丁字符?

注意:不要将文本转换为 nvarchar,而应使用 nText。默认情况下,当 mura 数据库在安装过程中初始化和创建时,mura 应该将它们设置为 ntext。

最佳答案

Unicode 通常与 Coldfusion 配合使用,因此首先要检查的是您是否已正确设置数据库连接。

This forum post建议

Double check to make sure that your datasource is set to use unicode.

For sql server makes sure that you have check the "String Format" checkbox under your datasource's advanced settings.

关于coldfusion - Mura 6 - 日语字符保存为问号,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/36223976/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com