title: Special character/ Unicode / special symbol to word from php
body: <p>I'm using <a href="http://php.net/manual/en/ref.com.php" rel="nofollow noreferrer">COM</a> for generate word document from PHP. i have a big issue when convert character for send to word bookmark template generating useless Chinese character and some number.</p>
  
  <p>here is what i have string value in php - <code>Brüel &amp; Kjær</code></p>
  
  <p>this is the text of word document after generate -  <code>Brüel &amp; Kjær1墄</code></p>
  
  <p>here is my converting way in php:</p>
  
  <pre><code>$text="Brüel &amp; Kjær";
  $text = iconv(mb_detect_encoding($text, mb_detect_order(), true), "UTF-8",$text);
  $text = htmlspecialchars_decode($text);
  $text=html_entity_decode($text, ENT_QUOTES, 'utf-8');
  </code></pre>
  
  <p>this is how adding COM bookmark variable to value :</p>
  
  <pre><code>$PHPWord = new COM("word.application", NULL, CP_UTF8);
  $PHPWord-&gt;Documents-&gt;Open(realpath($template));
  $bookmark = $PHPWord-&gt;ActiveDocument-&gt;Bookmarks("bookmark1");
  $bookmark = $bookmark-&gt;Range;
  $bookmark-&gt;Text=$text;
  $PHPWord-&gt;Documents[1]-&gt;SaveAs('temp/' . $template);
  </code></pre>
  
  <p>i beleve the character converting issue in my code. but i searched on internet, i couldn't found working solution for my problem. can you please help to solve this. </p>
  
  <p>is their way to send html to this bookmark or any convert ?? </p>