NoCache

Preview of Fix "Â" Showing Up in Static Files (Set Charset to UTF-8 in Nginx)

Fix "Â" Showing Up in Static Files (Set Charset to UTF-8 in Nginx)

Cyrus Kao

I recently had a very weird issue with Nginx serving static content. A Latin-script letter  keeps showing up in one of my CSS files, and the letters are not in the actual file. It turns out that Nginx doesn't set chartset by default, that's why the characters not in the ISO basic alphabet got decoded to something else.