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

Missing information in docs: Database ressource Character Set needs to be utf8 #271

Open
ChristophHCB opened this issue Sep 6, 2024 · 3 comments
Labels
area/configuration Affects the configuration enhancement New feature or improvement

Comments

@ChristophHCB
Copy link

This has cost me quite some time to figure out. When the Character Set of the database ressource is not set to utf8 you only get the following error when creating a Channel:
image

So please add this to the documentation.

@oxzi
Copy link
Member

oxzi commented Sep 6, 2024

Thanks for reporting this issue.

Which charset was configured and how did this happen? The schema defines CHARSET=utf8mb4 COLLATE=utf8mb4_bin for each table, unless I am missing something.

@ChristophHCB
Copy link
Author

ChristophHCB commented Sep 6, 2024

I had no charset configured in the beginning because it was not mentioned in the docs when setting up the ressource. I somehow missed to take a look into the schema and I stumbled across utf8 working when playing around with this issue for some time. But yeah you are right. Works fine with utf8mb4 too (already changed it).

@nilmerg nilmerg added area/configuration Affects the configuration enhancement New feature or improvement labels Sep 9, 2024
@nilmerg
Copy link
Member

nilmerg commented Sep 9, 2024

how did this happen?

What the schema defines is not important while reading from it. By configuring the charset in the resource configuration this way, the session charset matches the schema's and data is transferred 1:1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/configuration Affects the configuration enhancement New feature or improvement
Projects
None yet
Development

No branches or pull requests

3 participants