lucabaldini / webpage

My personal (static-html) webpage
GNU General Public License v3.0
1 stars 0 forks source link

Fix character encoding #12

Closed lucabaldini closed 5 years ago

lucabaldini commented 5 years ago

The first upload on galilinux didn't quite turn out as expected, with a bunch of funny characters in the teaching section (in Italian)

lucabaldini commented 5 years ago

This is a useful resource: https://larrykagan.com/fix-character-encoding-website/

Basically I believe I have the encoding right on the static html side, and the server was misconfigured.

I added a .htaccess file in the repository root reading like

AddDefaultCharset UTF-8

and now things seem alright.

lucabaldini commented 5 years ago

And the thing works out of the box on the unipi server.