Project

General

Profile

Actions

Feature #235

closed

default charset of rdoc

Added by znz (Kazuhiro NISHIYAMA) almost 16 years ago. Updated almost 13 years ago.

Status:
Closed
[ruby-core:17652]

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 2 (0 open2 closed)

Related to Ruby master - Bug #143: rdoc and magic commentClosednobu (Nobuyoshi Nakada)06/12/2008Actions
Related to Ruby master - Feature #928: RDoc encoding conversionRejectednaruse (Yui NARUSE)12/26/2008Actions
Actions #1

Updated by duerst (Martin Dürst) almost 16 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

=end

Actions #2

Updated by naruse (Yui NARUSE) almost 16 years ago

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

Actions #3

Updated by ko1 (Koichi Sasada) almost 16 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

Actions #4

Updated by drbrain (Eric Hodel) almost 16 years ago

  • Assignee set to drbrain (Eric Hodel)

=begin

=end

Actions #5

Updated by naruse (Yui NARUSE) over 15 years ago

  • Category set to M17N
  • Assignee deleted (drbrain (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
Actions #6

Updated by naruse (Yui NARUSE) over 15 years ago

  • Assignee set to drbrain (Eric Hodel)

=begin

=end

Actions #7

Updated by duerst (Martin Dürst) over 15 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

Actions #8

Updated by yugui (Yuki Sonoda) over 15 years ago

=begin
There are two more tasks.

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

Updated by naruse (Yui NARUSE) over 15 years ago

  • Assignee changed from drbrain (Eric Hodel) to naruse (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
Actions #10

Updated by drbrain (Eric Hodel) over 15 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

Actions #11

Updated by yugui (Yuki Sonoda) over 15 years ago

  • Target version set to 1.9.0-5

=begin

=end

Actions #12

Updated by yugui (Yuki Sonoda) over 15 years ago

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

=begin

=end

Actions #13

Updated by yugui (Yuki Sonoda) over 15 years ago

  • Due date set to 12/24/2008

=begin

=end

Actions #14

Updated by yugui (Yuki Sonoda) over 15 years ago

  • Status changed from Open to Closed

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

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0