Ruby on Rails | Screencasts | Download | Documentation | Weblog | Community | Source

Ticket #7188 (closed defect: fixed)

Opened 2 years ago

Last modified 1 year ago

[PATCH] Generate rdoc with UTF-8 instead of ISO-8859-1

Reported by: jferris Assigned to: core
Priority: normal Milestone:
Component: Railties Version: edge
Severity: trivial Keywords: rdoc multibytebugs
Cc:

Description

The Rails API README (http://api.rubyonrails.org/files/README.html) is reported as ISO-8859-1 but seems to be UTF-8. Where it says, "Welcome aboard: You’re riding the Rails!", strange characters are rendered in place of the apostrophe if the encoding is set to ISO-8859-1, but it is rendered correctly in UTF-8.

Attachments

add_utf8_to_rdoc_in_rake.diff (3.9 kB) - added by manfred on 01/19/07 08:00:21.

Change History

01/19/07 07:59:58 changed by manfred

  • keywords set to rdoc multibytebugs.
  • summary changed from The Rails API README is reported as ISO-8859-1 but seems to be UTF-8 to [PATCH] Generate rdoc with UTF-8 instead of ISO-8859-1.

01/19/07 08:00:21 changed by manfred

  • attachment add_utf8_to_rdoc_in_rake.diff added.

01/19/07 08:01:47 changed by manfred

This has been bugging me ever since we got the AS::Multibyte stuff in, it contains a lot of utf-8 in the examples. Luckily it's very easy to solve. Thanks for the reminder, I've been wanting to make a patch for this.

02/24/07 19:01:19 changed by josh

  • version set to edge.
  • component changed from Web to RailTies.

05/28/07 22:55:18 changed by bitsweat

  • status changed from new to closed.
  • resolution set to fixed.

(In [6881]) Generate rdoc with utf-8 charset. Closes #7188 [manfred, jferris]