Jump to content

Problem with UTF-8 encoding


thehurricane

Recommended Posts

  • 1 year later...
On 3/17/2020 at 10:32 AM, thehurricane said:

Hello,

I have problem with polish characters. In admin area on customers list polish characetrs aren't showing. In attachment screenshot. On front everything is ok, on other places in admin area too. Only customer list. Any1 had similar problem??

 

obraz.png

I have the same problem. Did you manage to fix this? I believe this is a problem with MySQL server encoding? Are you using Home server?

Link to comment
Share on other sites

  • 1 year later...

Hello, i found a solution.

You can add "SET NAMES utf8mb4" to doctrine yaml configm or extend the current INIT_COMMAND.

#app/config/doctrine.yml 

	options:
		# PDO::MYSQL_ATTR_INIT_COMMAND
		1002: "SET sql_mode=(SELECT REPLACE(@@sql_mode,'ONLY_FULL_GROUP_BY','')), names utf8mb4"

 

  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...