Feature #235

default charset of rdoc

Added by Kazuhiro NISHIYAMA almost 7 years ago. Updated about 4 years ago.

[ruby-core:17652]
Status:Closed
Priority:Normal
Assignee:Yui NARUSE

Description

=begin
I think that default charset of rdoc should be 'utf-8'.
The current default 'iso-8859-1' is not useful, because it can not include characters in Japanese and/or other languages, and not supported by ruby(1.8.x) interpreter.
=end


Related issues

Related to Ruby trunk - Bug #143: rdoc and magic comment Closed 06/12/2008
Related to Ruby trunk - Feature #928: RDoc encoding conversion Rejected 12/26/2008

Associated revisions

Revision 38851
Added by Eric Hodel over 2 years ago

  • doc/syntax/control_expressions.rdoc (if Expressions): Fixed markup error. Fixes #235 on github by FlyingFoX.

Revision 38851
Added by Eric Hodel over 2 years ago

  • doc/syntax/control_expressions.rdoc (if Expressions): Fixed markup error. Fixes #235 on github by FlyingFoX.

History

#1 Updated by Martin Dürst almost 7 years ago

=begin
Not sure sending this directly to this list is the right thing to do,
but I fully agree.

Regards, Martin.

At 20:36 08/07/08, Kazuhiro NISHIYAMA wrote:

Issue #235 has been reported by Kazuhiro NISHIYAMA.


Feature #235: default charset of rdoc
http://redmine.ruby-lang.org/issues/show/235

Author: Kazuhiro NISHIYAMA
Status: Open
Priority: Normal
Assigned to:
Category:
Target version:

I think that default charset of rdoc should be 'utf-8'.
The current default 'iso-8859-1' is not useful, because it can not include
characters in Japanese and/or other languages, and not supported by
ruby(1.8.x) interpreter.


You have received this notification because you have either subscribed to
it, or are involved in it.
To change your notification preferences, please click here:
http://redmine.ruby-lang.org/my/account

#-#-# Martin J. Du"rst, Assoc. Professor, Aoyama Gakuin University
#-#-# http://www.sw.it.aoyama.ac.jp mailto:duerst@it.aoyama.ac.jp

=end

#2 Updated by Yui NARUSE almost 7 years ago

=begin
Ruby M17N 的には、デフォルトはUS-ASCIIで、magic commentを書いてくださいですかね。
rdocって今メンテナどなたなんだろう。
=end

#3 Updated by Koichi Sasada almost 7 years ago

=begin
Who's task?

Kazuhiro NISHIYAMA wrote:

Issue #235 has been reported by Kazuhiro NISHIYAMA.


Feature #235: default charset of rdoc
http://redmine.ruby-lang.org/issues/show/235

Author: Kazuhiro NISHIYAMA
Status: Open
Priority: Normal
Assigned to:
Category:
Target version:

I think that default charset of rdoc should be 'utf-8'.
The current default 'iso-8859-1' is not useful, because it can not include characters in Japanese and/or other languages, and not supported by ruby(1.8.x) interpreter.


You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://redmine.ruby-lang.org/my/account

--
// SASADA Koichi at atdot dot net

=end

#4 Updated by Eric Hodel almost 7 years ago

  • Assignee set to Eric Hodel

=begin

=end

#5 Updated by Yui NARUSE almost 7 years ago

  • Category set to M17N
  • Assignee deleted (Eric Hodel)

=begin
Sorry, I wrote last message in Japanese,

Spec should be following,

  • the default encoding of rdoc should be US-ASCII (as the default of source encoding)
  • rdoc should recognize magic comment and use it as the encoding of the document.
  • if conflict encoding because of partial document or something, raise Exception. =end

#6 Updated by Yui NARUSE almost 7 years ago

  • Assignee set to Eric Hodel

=begin

=end

#7 Updated by Martin Dürst almost 7 years ago

=begin
I agree with Yui for the input encoding. The default for output should be UTF-8, however.
An exception should be raised if the actual encoding and the declared encoding on input
don't agree. An exception should not be raised if data from two or more input documents
in different encodings is combined.
=end

#8 Updated by Yuki Sonoda almost 7 years ago

=begin
There are two more tasks.

  • An exception should be raised? (I think it should)
  • Who does this do? Naruse? =end

#9 Updated by Yui NARUSE almost 7 years ago

  • Assignee changed from Eric Hodel to Yui NARUSE

=begin
* An exception should be raised? (I think it should)
of course, the exception is maybe Encoding::IllegalByteSequence
* Who does this do? Naruse?
i do.
=end

#10 Updated by Eric Hodel almost 7 years ago

=begin
Default output encoding of RDoc is UTF-8 now (soon to be committed to trunk).

Unfortunately no conversion to UTF-8 is currently performed. I lack experience to do this properly.
=end

#11 Updated by Yuki Sonoda almost 7 years ago

  • Target version set to 1.9.0-5

=begin

=end

#12 Updated by Yuki Sonoda over 6 years ago

  • Target version changed from 1.9.0-5 to 1.9.1 Release Candidate

=begin

=end

#13 Updated by Yuki Sonoda over 6 years ago

  • Due date set to 12/24/2008

=begin

=end

#14 Updated by Yuki Sonoda over 6 years ago

  • Status changed from Open to Closed

=begin
I created a new issue for encoding conversion in RDoc. (Feature #928)
=end

Also available in: Atom PDF