<p>I finally found what the problem was.</p>

<p>The translations files (/craft/translations/de.php) were encoded as "UTF-8 with BOM"
I opened these files in Sublime text and saved them as regular old UTF-8, which fixed the issue.</p>

CC BY-SA 3.0
2015-08-07T13:41:15.823Z
2015-08-07T13:41:15.823Z
Martin
<p>I am getting a strange whitespace character when using a different language.</p>

<p>All languages use the same templates/database/plugins etc.
But when I go to any other language except the default I get a whitespace character before the </p>

<p>I have no idea what this is coming form. Its there when I disable all plugins and use a blank template.</p>

<p><img src="https://i.sstatic.net/ilgtt.png" alt="Screenshot of whitspace"></p>

CC BY-SA 3.0
2015-08-06T18:53:16.090Z
Maybe it's coming from the other language's public `index.php` files?
Brad Bell
CC BY-SA 3.0
2015-08-07T08:06:47.390Z
Afraid not, I have removed all trailing whitespace.
Martin
CC BY-SA 3.0
2015-08-07T11:14:11.653Z
Found issue. The translation files were saved with encoding utf-8 with BOM
Martin
CC BY-SA 3.0
2015-08-07T18:55:52.293Z
Ahh... nice catch!
Brad Bell
<templating><error><whitespace>
Whitespace created a start of HTML
# Whitespace created a start of HTML

(Asked by: username_0 on 2015-08-06)

I am getting a strange whitespace character when using a different language.

All languages use the same templates/database/plugins etc.
But when I go to any other language except the default I get a whitespace character before the

I have no idea what this is coming form. Its there when I disable all plugins and use a blank template.

![Screenshot of whitspace](https://i.sstatic.net/ilgtt.png)

**Tags:** templating, error, whitespace

> **Comments:**
> **username_1**: Maybe it's coming from the other language's public `index.php` files?  
> **username_0**: Afraid not, I have removed all trailing whitespace.  
> **username_0**: Found issue. The translation files were saved with encoding utf-8 with BOM  
> **username_1**: Ahh... nice catch!  

---

## 1 answers

### Answer by username_0 on 2015-08-07. Score: 3 | Accepted answer

I finally found what the problem was.

The translations files (/craft/translations/de.php) were encoded as "UTF-8 with BOM"
I opened these files in Sublime text and saved them as regular old UTF-8, which fixed the issue.


---

