Project

General

Profile

Feature #928

RDoc encoding conversion

Added by yugui (Yuki Sonoda) about 11 years ago. Updated over 8 years ago.

Status:
Rejected
Priority:
Normal
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

Related to Ruby master - Feature #235: default charset of rdocClosed07/08/200812/24/2008Actions

History

#1

Updated by matz (Yukihiro Matsumoto) about 11 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 redmine@ruby-lang.org 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

#2

Updated by drbrain (Eric Hodel) about 11 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 <redmine@ruby-lang.org

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

#3

Updated by naruse (Yui NARUSE) over 10 years ago

  • Status changed from Open to Rejected

=begin
Use UTF-8 for rdoc.
=end

Also available in: Atom PDF