Qbox-project / qbx_core

http://qbox-project.github.io
Other
46 stars 113 forks source link

Incorrect string value for column name (DB encoding) #384

Closed nitrou5 closed 4 months ago

nitrou5 commented 4 months ago

Summary

DB failure to save players with unicode emojis in their name

Reproduction

Found this reported on discord, was able to reproduce it and confirm:

  1. Include emoji in your name in FiveM settings
  2. Join Server for first time to trigger insert player row in table
  3. See Incorrect string value for column name players.name image image

Expected behavior

No server errors, player need to persist in DB table

Actual behavior

player with emoji in their name do not persist in DB table

Additional context

No response

Current Version

v1.6.1

Custom Resources

n/a