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

Current docker image with Mariadb doesn't support 4byte unicode #5

Open
delsborg opened this issue May 15, 2019 · 4 comments
Open

Current docker image with Mariadb doesn't support 4byte unicode #5

delsborg opened this issue May 15, 2019 · 4 comments

Comments

@delsborg
Copy link
Member

The mysql-init.sql file creates the database with:
CREATE DATABASE vitrodb CHARACTER SET utf8;

This does not allow extended unicode to be uploaded.
Researching this issue it looks like the DB should be created with utf8mb4.

I've attached the rdf that I tried to update via siteAdmin
testNode.txt

@awoods
Copy link
Member

awoods commented May 15, 2019

@delsborg : Would you be interested in putting forward a pull-request?

@delsborg
Copy link
Member Author

Hi Andrew, see the utf8mb4 branch.
Also, it still doesn't work for uploads. See email I sent to tech group.
This docker image does help to recreate the problem in a manner that anybody can reproduce :)

@awoods
Copy link
Member

awoods commented May 16, 2019

@roflinn
Copy link
Member

roflinn commented Aug 6, 2019

@delsborg I added this into my PR for you if you didn't see:
CREATE DATABASE vitrodb CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;

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

3 participants