title: Symfony Doctrine: emojis are not stored
body: <p>I am trying to save text with emojis. However emojis are not stored in text. Instead of emojis I get <code>?</code> in database.</p>
  
  <pre><code> # Doctrine Configuration
   doctrine:
       dbal:
           driver: pdo_mysql
           host: '%database_host%'
           port: '%database_port%'
           dbname: '%database_name%'
           user: '%database_user%'
           password: '%database_password%'
           charset: utf8mb4
  </code></pre>
  
  <p>Post class where I want to save emojis</p>
  
  <pre><code>/**
   * Post
   *
   * @ORM\Table(name="post", options={"collate"="utf8mb4_unicode_ci", "charset"="utf8mb4"})
   * @ORM\Entity(repositoryClass="AppBundle\Repository\PostRepository")
   */
  class Post
      {
      /**
       * @ORM\Column(type="integer", name="id")
       * @ORM\Id
       * @ORM\GeneratedValue(strategy="AUTO")
       */
      private $id;
  
      /**
       * @ORM\Column(type="text", nullable=false, name="text")
       */
      private $text;
  
   }
  </code></pre>
  
  <p>Example</p>
  
  <p>POST body</p>
  
  <pre><code> {"text": "test  test"}
  </code></pre>
  
  <p><code>text</code> column in database</p>
  
  <pre><code> test ? test
  </code></pre>