Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

No Emoji Support! How dare you.... #585

Open
hennevogel opened this issue Feb 5, 2020 · 3 comments
Open

No Emoji Support! How dare you.... #585

hennevogel opened this issue Feb 5, 2020 · 3 comments
Labels

Comments

@hennevogel
Copy link
Member

projects#create threw this 7 times

Mysql2::Error: Incorrect string value: '\xF0\x9F\xA5\x87\x0D\x0A...' for column `suse_hackweek`.`projects`.`description` at row 1: INSERT INTO `projects` (`title`, `description`, `created_at`, `updated_at`, `originator_id`, `aasm_state`, `avatar_file_name`, `avatar_content_type`, `avatar_file_size`, `avatar_updated_at`, `url`) VALUES ('All our beloved acronyms in one place... also some Jekyll hackin\'', 'Acronyms are fun. Everyone at SUSE loves them.\r\n_Just sometimes… you might not know what one stands for._\r\n\r\n[Meet SUSE Acronyms!](https://thutterer.io.suse.de/acronyms/)\r\n\r\n> This year\'s Hack Week is open not only for developers but everyone at SUSE!\r\n\r\n__If this is your first Hack Week and you aren\'t a developer (yet!) this project is a good place to make your first steps with Git.__\r\nJust follow the instructions to [add an acronym](https://thutterer.io.suse.de/acronyms/HOWTO) directly on our GitLab (No setup but VPN required) and you can proudly tell your friends

https://hackweek.suse.com/projects"

See this exception on Errbit

@hennevogel hennevogel changed the title [production][projects#create] Mysql2::Error: Incorrect string value: '\xF0\x9F\xA5\x87\x0D\x0A...' for column suse_hackweek.`... No Emoji Support! How dare you.... Feb 5, 2020
@hennevogel
Copy link
Member Author

See openSUSE/open-build-service#5419 for an inspiration on how to do this...

@hennevogel
Copy link
Member Author

As a workaround we support the :smile: syntax.

@bhdn
Copy link

bhdn commented Nov 12, 2024

Another workaround is using hex numeric character references: 🧉 -> 🧉.

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

No branches or pull requests

2 participants