Project

General

Profile

Actions

Feature #928

closed

RDoc encoding conversion

Added by yugui (Yuki Sonoda) over 15 years ago. Updated almost 13 years ago.

Status:
Rejected
Target version:
[ruby-core:20874]

Description

=begin
What should RDoc do for rdoc documentations in various character encoding?
Converting them into UTF-8?

And what should RDoc do if the rdoc and the terminal have different encodings. Converting it like irb?

This issue forked from #235.
=end


Related issues 1 (0 open1 closed)

Related to Ruby master - Feature #235: default charset of rdocClosednaruse (Yui NARUSE)07/08/200812/24/2008Actions
Actions #1

Updated by matz (Yukihiro Matsumoto) about 15 years ago

=begin
Hi,

In message "Re: [ruby-core:20874] [Feature #928] RDoc encoding conversion"
on Fri, 26 Dec 2008 14:34:27 +0900, Yuki Sonoda writes:

|What should RDoc do for rdoc documentations in various character encoding?
|Converting them into UTF-8?

My personal opinion is that RDoc should be in US-ASCII, unless
explicitly specified otherwise.

						matz.

=end

Actions #2

Updated by drbrain (Eric Hodel) about 15 years ago

=begin
On Dec 28, 2008, at 23:38 PM, Yukihiro Matsumoto wrote:

In message "Re: [ruby-core:20874] [Feature #928] RDoc encoding
conversion"
on Fri, 26 Dec 2008 14:34:27 +0900, Yuki Sonoda <

writes:

|What should RDoc do for rdoc documentations in various character
encoding?
|Converting them into UTF-8?

My personal opinion is that RDoc should be in US-ASCII, unless
explicitly specified otherwise.

Currently HTML output encoding is set to UTF-8. Most english-speaking
people expect to be able to use UTF-8 these days as their editors
support it.

What should happen when a project has comments in one file that is
UTF-8 and another that is non-UTF-8?

I think that the non-UTF-8 comments should be converted to the UTF-8
(or whatever the output encoding is set to).

=end

Actions #3

Updated by naruse (Yui NARUSE) over 14 years ago

  • Status changed from Open to Rejected

=begin
Use UTF-8 for rdoc.
=end

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0