axitkhurana / buster

Brute force static site generator for Ghost
MIT License
800 stars 139 forks source link

Strange Characters #39

Closed pablo-grande closed 9 years ago

pablo-grande commented 10 years ago

Hi, I did not saw this issue on this repository so here it goes:

I'm having some troubles on my ghost blog with characters like accents and 'ñ' (my language has those). On my local blog I see the post just fine, but when I generate my blog on buster those characters disappear. For example: Tecnología (means Technology) has this character "í", but on my remote blog the word is: Tecnología

I also did some research on the history of the code, because I don't remember this problem happening before (I used buster a few months ago) and I found that at commit d1b3d5f3543793a24f0322d9089b82d7a60a45b6 works fine, after that (at 02e9e489d3ce63c79dc9a1c2976f4cc276b32786) the strange characters appear.

Any thoughts?

anandubajith commented 10 years ago

is the charset UTF-8?

pablo-grande commented 10 years ago

Yes, it is.

Here are some photos. This is my local deployment of the ghost blog: local

And this is what happens when you run buster deploy on the blog: preview

As you can see the charset is correct. The second image is what becomes uploaded by the buster deploy command. I think the problem is at the "conversion" of the blog.

anandubajith commented 10 years ago

no <!doctype html> in the buster deployed blog

pablo-grande commented 10 years ago

I added it manually and nothing changes. I still believe that the problem is on the translation because the content of the tags is wrong, not just the view.