brouznouf / fivem-mysql-async

MySql Async Library for FiveM
MIT License
111 stars 106 forks source link

cad computer comes out as??????????????? #122

Closed ShaggyRogersTBS closed 4 years ago

ShaggyRogersTBS commented 4 years ago

So i'm running a document script and a polic mdt scrtipt an the problem is that when someone types something in bulgarian/cirillyc the db saves it as ????????? instead for example: нещо си там. can yuou tell me how am i supposed to change the charset of the scriptl, or the whole sql thing

ghost commented 4 years ago

Use the connection string to change the charset to something that is not UTF8_GENERAL_CI, which is the default.