This project is archived and is in readonly mode.

#3655 ✓committed
Dan Croak

HTML5 charset

Reported by Dan Croak | January 5th, 2010 @ 03:29 AM | in 3.0.2

Rails error pages, public/index.html, and app/layout all use HTML5 now. The HTML5 specification has a shorter way of setting character encoding.

http://dev.w3.org/html5/html4-differences/#character-encoding

That's all this patch does, continuing on this commit by Josh Peek:

http://github.com/rails/rails/commit/01d92021e69f54def1ec8103b2b99f...

Attached a diff per the Lighthouse instructions. Can be viewed with nice coloration at Github:

http://github.com/dancroak/rails/commit/62c7964c7a60091cfd8250c701b...
http://github.com/dancroak/rails/commit/aff1dbc33fe559b7a3e95342eee...

I didn't change any tests as they look like they simply test that the layout file is created:

http://github.com/dancroak/rails/blob/3f28e0bda6386ed25d07182dd39b8...

Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>

People watching this ticket

Tags

Pages