Skip to content
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

Pasting emoji results in 404 page #14

Open
mook-as opened this issue May 27, 2022 · 2 comments
Open

Pasting emoji results in 404 page #14

mook-as opened this issue May 27, 2022 · 2 comments

Comments

@mook-as
Copy link

mook-as commented May 27, 2022

It appears that trying to paste text containing emoji (or at least, 🕞 U+1F55E) fails; the paste succeeds but the result just says page not found (404).

Steps to reproduce:

Expected results:

A new paste is created, containing the clock emoji

Actual results:

A 404 page; the paste is nowhere to be found.

Additional information:

I was attempt to paste console output, but the program in question emitted emoji to the console.

@cboltz
Copy link
Member

cboltz commented May 28, 2022

@miska Can you please check what's going on here?

@mook-as
Copy link
Author

mook-as commented May 30, 2022

I would guess it's because of the database configuration:

$db['default']['char_set'] = "utf8";

That probably needs to be utf8mb4 instead, per MySQL documentation. While I'm aware that exists, I have no idea what migration might be needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants