如何在mysql数据库中存储语音

时间:2022-01-13 12:41:36

I have to store the phonetics of words in a database in this format:

我必须将单词的音标以这种格式存储在数据库中:

blow = \ˈblō\ 

But when I see in the database, it's stored like this:

但是当我在数据库中看到,它是这样存储的:

blow = \?bl?\

There are ? instead of symbols you can see.

有吗?而不是你能看到的符号。

Please correct me as to what I am doing wrong.

请纠正我的错误。

Thanks

谢谢

1 个解决方案

#1


2  

your database does not support all characters i would recommend to change it to something like this:

您的数据库不支持所有字符,我建议将其更改为以下内容:

character set: utf8
collation: utf8_general_ci

right now you have a standard character set and thats why it changes to ?????

现在你有一个标准的字符集,这就是它为什么会改变的原因?????

#1


2  

your database does not support all characters i would recommend to change it to something like this:

您的数据库不支持所有字符,我建议将其更改为以下内容:

character set: utf8
collation: utf8_general_ci

right now you have a standard character set and thats why it changes to ?????

现在你有一个标准的字符集,这就是它为什么会改变的原因?????