sass / sass-site

Sass Website
https://sass-lang.com
Other
311 stars 233 forks source link

Apostrophes are showing as ??? in browsers on Yosemite #132

Closed headquarters closed 8 years ago

headquarters commented 9 years ago

I'm running Yosemite with Chrome 43 and noticing that apostrophes are showing as 3 question marks ("???") on all the documentation pages, such as: http://sass-lang.com/documentation/file.SASS_REFERENCE.html#mixins

I don't mind fixing this and providing a pull request, but I can't find the actual doc files in the repo. I've ran bundle install and middleman, but it looks like the files are pulled from the URL http://sass-lang.com/documentation/file.SASS_REFERENCE.html. Is there another repo with the doc files?

hariganesan commented 9 years ago

Seems to show up on all operating systems/browsers

jina commented 9 years ago

must be an encoding issue. @nex3 is this something we fix on the doc repo side of things?

nex3 commented 9 years ago

There might be a way to force it to always use UTF-8, but I'm not entirely sure what that would be.

adamzerner commented 9 years ago

I'm having the same problem with the most recent version of Chrome and OSX.

nex3 commented 8 years ago

I'm pretty sure this is caused by some aspect of the configuration on certain computers that are used to deploy. When I deploy, it doesn't seem to happen, but when other people do it does. I'm still not sure how to fix it, though.

I'm re-deploying now, which should clear it up at least temporarily.

arhoads commented 8 years ago

I am still getting this problem across browsers and OSes.

jina commented 8 years ago

@nex3 Is there any chance we can replace <meta http-equiv=Content-Type content="text/html; charset=US-ASCII"/> with <meta charset="utf-8" /> in the docs template? I cloned the sass repository and I searched in files, but I can not for the life of me find where the template's markup is coming from to make the switch. This would fix the issue.

nex3 commented 8 years ago

@jina You might have to hack the default YARD templates. It's been years since I did that last and I don't remember how.

headquarters commented 8 years ago

This appears to be fixed in the most recent deployment, so I'm closing this issue for now.