开发者

Rails, Redmine, Mysql and SQL Server encoding problems

开发者 https://www.devze.com 2023-01-06 05:39 出处:网络
We had redmine working with mysql (and mysql works fine with utf8). Now we needed to migrate the database to SQL Server (开发者_如何学Pythonlatin1 is the default for us). The data acentuation is ok in

We had redmine working with mysql (and mysql works fine with utf8). Now we needed to migrate the database to SQL Server (开发者_如何学Pythonlatin1 is the default for us). The data acentuation is ok in SQL Server after the migration, but in the browser, data coming from the database is showing ? in the acentuation place. What could be the solution to show characters correctly in the browser?


HTML encode it. Browsers support HTML only, and HTML says all non-english characters are to be specially coded.

0

精彩评论

暂无评论...
验证码 换一张
取 消