-
-
Notifications
You must be signed in to change notification settings - Fork 402
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
db: fix unicode on mysql #1652
db: fix unicode on mysql #1652
Conversation
After some testing, I can confirm this clears issue #1650 |
I did just configure this for a single column in nick_values, but we should chat about all the potentially places people could put unicode characters and configure appropriately. |
I would imagine this should be added to channel_values,, as well as the upcoming plugin_values in PR #1621 |
What @deathbybandaid said. Fixing this for only one DB column is no good; we need to allow Unicode pretty much anywhere there's a string/text. Some IRCds do in fact allow Unicode nicknames, for example. |
0ea5981
to
ff366c9
Compare
ff366c9
to
852d783
Compare
Fresh database with mysql seems good with the I think those 3 databases are the only ones we should focus on. Any other database flavors can wait until people have issues with them. |
Should we be concerned about line length with this? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@RustyBower Can we apply this also to all the tables it makes sense to? Channel names are very often Unicode-enabled even if nicknames aren't, for example.
I think we need this on almost everything:
ChannelValues
NickValues
Nicknames
I guess NickIDs
doesn't need it, because integers aren't strings. 😝
Alternatively, if you can set the default engine, charset, and collation for the whole database somehow, do that. 😈
852d783
to
a2a5b41
Compare
Fixed the line length and additional table issues. I'll continue to do some research into defaulting this for the entire table. |
a2a5b41
to
f3cfcaf
Compare
f3cfcaf
to
32abccd
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Much ❤️ to @RustyBower for amending this so many times based on my feedback!
Because I've already asked him to force-push so many times, I'll ignore the somewhat unnecessary change to line-breaks in the URL()
call. It's fine~!
(And I won't give Rusty time to "fix it anyway", either. 😈) |
Awesome fix! 👍 |
No description provided.