Closed tom10271 closed 1 month ago
Hi @tom10271,
Thanks for reporting this issue.
Would it be possible for you to share additional details about this issue so that we can help you better?
Would it be possible for you to share additional details about this issue so that we can help you better?
What is the encoding setting on MySQL and Postgres database? I mean these Chinese chars are getting displayed properly on MySQL side?
The other tables (without mysql_fdw) able to display the Chinese chars on the Postgres side? this will give us the information about this is something specific to mysql_fdw or Postgres in general. Sometimes Postgres client_encoding is not set correctly and the chars do not get displayed.
?
However I do have a solution by setting character_set 'utf8'
inspired by https://github.com/EnterpriseDB/mysql_fdw/issues/2#issuecomment-14564509
https://github.com/EnterpriseDB/mysql_fdw/issues/2#issuecomment-2376609881
It seems auto is not really working.
Thanks for the update @tom10271.
As mentioned by you, after setting character_set to utf8
, you can able to see characters correctly.
Please let us know if you need further assistance on this.
Thank you for providing support. Yeah everything solved and working fine, just would be great if this fdw would work out of the box. Not sure why the default auto is not working which would be confusing to other.
I tried to create server with and without setting character_set 'utf8mb4'
However result selected for value contains Chinese is all displayed as
?
.