Feature #928

RDoc encoding conversion

Added by yugui (Yuki Sonoda) over 3 years ago. Updated about 1 year ago.

[ruby-core:20874]
Status:Rejected Start date:12/26/2008
Priority:Normal Due date:
Assignee:naruse (Yui NARUSE) % Done:

0%

Category:lib
Target version:1.9.2

Description

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.

Related issues

related to ruby-trunk - Feature #235: default charset of rdoc Closed 07/08/2008 12/24/2008

History

Updated by matz (Yukihiro Matsumoto) over 3 years ago

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.

Updated by drbrain (Eric Hodel) over 3 years ago

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).

Updated by naruse (Yui NARUSE) over 2 years ago

  • Status changed from Open to Rejected
Use UTF-8 for rdoc.

Also available in: Atom PDF