Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

中文乱码怎么解决 #19

Open
cdefg198 opened this issue Mar 28, 2019 · 1 comment
Open

中文乱码怎么解决 #19

cdefg198 opened this issue Mar 28, 2019 · 1 comment

Comments

@cdefg198
Copy link

原生的Contains,是这样的,N'中文'
使用FullTextSearchModelUtil.Contains之后,@p__linq__0='(??) ,是没有加上N;
我看 FullTextSearchModelUtil.Contains("内衣") 返回的是(-FTSFULLTEXTCONTAINS-内衣),这个有办法处理吗?

@cdefg198
Copy link
Author

在FtsInterceptor.class
93,94行
parameter.Size = 4096; parameter.DbType = DbType.AnsiStringFixedLength;
为什么所有的参数都要定义为AnsiStringFixedLength呢

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant