我需要为新语言准备一个新表吗?

发布于 2024-12-14 05:57:32 字数 325 浏览 0 评论 0原文

我需要为每种新语言创建不同的表吗?

这是一个示例表:

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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

ヅ她的身影、若隐若现 2024-12-21 05:57:32

您可以使用 Unicode 来允许数据库中的所有语言。客户端还应该以 Unicode 格式处理和传输捕获的数据。

You can use Unicode to allow all languages within your database. Clients should also process and transfer captured data in Unicode.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文