Answers.Body: <p>We are in the process of translating one of our client sites into 16 (yes that's 16!) languages and we haven't had any issues with accented characters.</p>
  
  <p>The only thing I can suggest off the top of my head is to ensure you are using UTF-8 character encoding. Pop this in your <code>&lt;head&gt;</code>:</p>
  
  <pre><code>&lt;meta charset="utf-8"&gt;
  </code></pre>
  
  <p>Hope that helps.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-10-06T17:45:05.610Z
Answers.Text: I'd also check that when you're saving the `fr.php` file, make sure you're saving it with a UTF-8 encoding.
Answers.UserDisplayName: Brad Bell
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-10-06T20:30:02.823Z
Answers.Text: Thanks Jamie and Brad. Saving the file with UTF-8 encoding fixed it.
Answers.UserDisplayName: user1070143
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-10-06T15:54:22.970Z
Answers.LastActivityDate: 2015-10-06T15:54:22.970Z
Answers.UserDisplayName: Jamie Wade
Body: <p>Using this help page <a href="https://craftcms.com/support/static-translations" rel="nofollow noreferrer">https://craftcms.com/support/static-translations</a> I've created a <code>fr.php</code> file in a translations folder - and it's working OK. Except when I have <code>"Telephone" =&gt; "Téléphone"</code> in the array - the two é get output as black diamonds with a question mark in.</p>
  
  <p>How should I be adding Téléphone in the array so that it outputs correctly?</p>
  
  <p>Many thanks
  Lee</p>
  
Tags: <localization>
Title: How can I translate static text in my templates that have accents?
ThreadText: # How can I translate static text in my templates that have accents?
  
  (Asked by: username_0 on 2015-10-06)
  
  Using this help page <https://craftcms.com/support/static-translations> I've created a `fr.php` file in a translations folder - and it's working OK. Except when I have `"Telephone" => "Téléphone"` in the array - the two é get output as black diamonds with a question mark in.
  
  How should I be adding Téléphone in the array so that it outputs correctly?
  
  Many thanks
  Lee
  
  **Tags:** localization
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2015-10-06. Score: 3 | Accepted answer
  
  We are in the process of translating one of our client sites into 16 (yes that's 16!) languages and we haven't had any issues with accented characters.
  
  The only thing I can suggest off the top of my head is to ensure you are using UTF-8 character encoding. Pop this in your `<head>`:
  
  ```
  <meta charset="utf-8">
  
  ```
  
  Hope that helps.
  
  > **Comments:**
  > **username_2**: I'd also check that when you're saving the `fr.php` file, make sure you're saving it with a UTF-8 encoding.  
  > **username_0**: Thanks username_1 and username_2. Saving the file with UTF-8 encoding fixed it.  
  
  ---
  
  