-
Not really sure why. One of the text resulting in this
But should be (what's in discord)
The unicode convert on the last emoji, make it hard for me to insert the data to database Sample error when inserting to database (might be not relevant)
The main question is why it's converted the last convetti to that code Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Does it's not automate converts in your database schema? and probably related to https://stackoverflow.com/questions/32158381/fatal-error-high-and-low-surrogate-code-points-are-not-valid-unicode-scalar-va In my case this issue happend to me as well, When parsing a texts with emoji, some emoji suddenly converted to unicode, but It is has been parsed correctly. If this out from discord.js related, I think you should make a check statement before inserting your data to avoid this messy |
Beta Was this translation helpful? Give feedback.
Does it's not automate converts in your database schema? and probably related to https://stackoverflow.com/questions/32158381/fatal-error-high-and-low-surrogate-code-points-are-not-valid-unicode-scalar-va
In my case this issue happend to me as well, When parsing a texts with emoji, some emoji suddenly converted to unicode, but It is has been parsed correctly.
If this out from discord.js related, I think you should make a check statement before inserting your data to avoid this messy