[Rubygems-developers] [ rubygems-Bugs-28358 ] UTF-8 encoded files aren't documented (with example file)
noreply at rubyforge.org
noreply at rubyforge.org
Fri Nov 12 20:22:22 EST 2010
Bugs item #28358, was opened at 2010-07-06 17:51
You can respond by visiting:
http://rubyforge.org/tracker/?func=detail&atid=575&aid=28358&group_id=126
Category: None
Group: None
>Status: Closed
>Resolution: Rejected
Priority: 3
Submitted By: Stefano Diem (teonimesic)
Assigned to: Nobody (None)
Summary: UTF-8 encoded files aren't documented (with example file)
Initial Comment:
This is a dup of #26200, but with the addition of an example file as asked by Eric.
The attached file only contains the following:
# encoding: utf-8
But i added a BOM (Byte Order Mark) to the file (with kate > Tools > Add BOM), and because of it the parser doesn't finishes (it goes to 100% and then crashes/stops)
The original message on #26200 is:
Hi,
I've tried to document some of my UTF-8 encoded Ruby 1.9 files, but it seems that RDoc cannot do this:
#Encoding: UTF-8
#test file
#test class
class A
#test method
def a
puts "a"
end
end
A file like the above one can't be documented on my system (I'm using Windows XP SP3 and RDoc 2.4.3). See also
http://www.ruby-forum.com/topic/189135#new.
Marvin.
----------------------------------------------------------------------
>Comment By: Ryan Davis (zenspider)
Date: 2010-11-12 17:22
Message:
This is an rdoc bug, not a rubygems bug, no?
----------------------------------------------------------------------
You can respond by visiting:
http://rubyforge.org/tracker/?func=detail&atid=575&aid=28358&group_id=126
More information about the Rubygems-developers
mailing list