Skip to content
This repository has been archived by the owner on Sep 11, 2020. It is now read-only.

Text fields can't contain emojis #13

Open
Tyratox opened this issue Jul 10, 2017 · 5 comments
Open

Text fields can't contain emojis #13

Tyratox opened this issue Jul 10, 2017 · 5 comments
Assignees

Comments

@Tyratox
Copy link
Member

Tyratox commented Jul 10, 2017

SequelizeDatabaseError
Incorrect string value: '\xF0\x9F\x98\x9D' for column 'description' at row 1

@Tyratox
Copy link
Member Author

Tyratox commented Jul 10, 2017

TODO: Set charset to utf8mb4 (Migration?)

@ItsEcholot
Copy link
Member

ItsEcholot commented Jul 10, 2017

Might be fixable with dialectOptions.

dialectOptions: {
    charset: 'utf8mb4'
}

@Tyratox
Copy link
Member Author

Tyratox commented Jul 10, 2017

Whoops referenced wrong issue in commit ^^

@Tyratox Tyratox closed this as completed Jul 10, 2017
@Tyratox
Copy link
Member Author

Tyratox commented Jul 11, 2017

Apparently still not working
bildschirmfoto 2017-07-11 um 22 06 13

@Tyratox Tyratox reopened this Jul 11, 2017
@ItsEcholot
Copy link
Member

Are we sure that this string is in fact uft-8?

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

No branches or pull requests

2 participants