PyconUK / pyconuk.github.io

OLD REPOS - DO NOT USE. PyCon UK website
http://www.pyconuk.org/
3 stars 9 forks source link

Specify encoding (and throw in fancy accents) #2

Closed tjguk closed 9 years ago

tjguk commented 9 years ago

While adding a playful update to "internationalise" the spelling of smorgasbord, I realised that I didn't know what encoding the pages were. Just to show willing, this PR adds an explicit UTF-8 charset header to each and includes the smorgasbord update.

AFAICT, none of the other pages needed re-encoding as such; I've merely added the explicit header.

hawkz commented 9 years ago

The pages are served with: Content-Type:text/html; charset=utf-8 So this a duplication / unneeded meta?

Kudos for smörgåsbord though...

tjguk commented 9 years ago

I guessed as much; problem is that contributors wanting to update text don't know this... Don't feel strongly, but so long as it doesn't cause a problem, why not leave it in?

TJG

On 20/03/2015 09:25, Stephen Hawkes wrote:

The pages are served with: Content-Type:text/html; charset=utf-8 So this a duplication / unneeded meta?

Kudos for smörgåsbord though...

— Reply to this email directly or view it on GitHub https://github.com/PyconUK/pyconuk.github.io/pull/2#issuecomment-83966732.

doismellburning commented 9 years ago

@tjguk Hey Tim - could you please send PRs from a feature branch in future please.

tjguk commented 9 years ago

Certainly. I'm a relative naïf when it comes to github collaboration, I'm afraid!