<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>

CC BY-SA 3.0
2015-10-06T17:45:05.610Z
I'd also check that when you're saving the `fr.php` file, make sure you're saving it with a UTF-8 encoding.
Brad Bell
CC BY-SA 3.0
2015-10-06T20:30:02.823Z
Thanks Jamie and Brad. Saving the file with UTF-8 encoding fixed it.
user1070143
CC BY-SA 3.0
2015-10-06T15:54:22.970Z
2015-10-06T15:54:22.970Z
Jamie Wade
<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>

<localization>
How can I translate static text in my templates that have accents?
# 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 :


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 Jamie and Brad. Saving the file with UTF-8 encoding fixed it.  

---

