我需要为新语言准备一个新表吗?
我需要为每种新语言创建不同的表吗?
这是一个示例表:
field
id
field
lang
filter
count
假设有人用英语输入数据,然后用日语输入数据,然后用俄语输入数据......这可以接受吗?或者更确切地说,有没有一个好的方法可以使其成为可能,因为我收到以下错误,使我相信我应该重新设计:
Warning: #1366 Incorrect string value: '\xE8\x8B\xB1\xE8\xAA\x9E' for column 'field' at row 1
Do I need to create a different table for each new language?
Here's a sample table:
field
id
field
lang
filter
count
Say someone inputs data in English, then they input data in Japanese, then they input data in Russian.... Is that going to be acceptable? Or rather, is there a good way to make it possible because I get the following error, making me believe that I should re-design:
Warning: #1366 Incorrect string value: '\xE8\x8B\xB1\xE8\xAA\x9E' for column 'field' at row 1
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以使用 Unicode 来允许数据库中的所有语言。客户端还应该以 Unicode 格式处理和传输捕获的数据。
You can use Unicode to allow all languages within your database. Clients should also process and transfer captured data in Unicode.