Folks:
I’m trying to find out: does RDoc work OK on files that have non-ASCII
comments (comments in UTF-8, SJIS, and so on?) If so, could folks let me
know. If not, could you describe the issues?
Thanks
Dave
Folks:
I’m trying to find out: does RDoc work OK on files that have non-ASCII
comments (comments in UTF-8, SJIS, and so on?) If so, could folks let me
know. If not, could you describe the issues?
Thanks
Dave
Hello,
I tried a simple class with a few french accented letters (in utf-8) and
passed the right -c option (-c utf-8). The result is perfectly okay on
my gecko based browser.
On Fri, Jun 06, 2003, Dave Thomas wrote:
Folks:
I’m trying to find out: does RDoc work OK on files that have non-ASCII
comments (comments in UTF-8, SJIS, and so on?) If so, could folks let me
know. If not, could you describe the issues?
–
Pierre Baillet
It is said that what is called “the spirit of an age” is something to which one
cannot return. That this spirit gradually dissipates is due to the world’s
coming to an end. In the same way, a single year does not have just spring or
summer. A single day, too, is the same. For this reason, although one would
like to change today’s world back to the spirit of one hundred years or more
ago, it cannot be done. Thus it is important to make the best out of every
generation.
Ghost Dog - The Way of the Samouraï
“Dave Thomas” dave@pragprog.com wrote in message
news:3EE00336.3060106@pragprog.com…
Folks:
I’m trying to find out: does RDoc work OK on files that have non-ASCII
comments (comments in UTF-8, SJIS, and so on?) If so, could folks let me
know. If not, could you describe the issues?
In Ansi, danish characters work, but in UTF-8 they don’t. It’s probably the
initial byte order marker that confuses rdoc since no text at all shows up
(but the file is listed).
I just created a single “hello.rb” file with a single comment:
#ælle bælle mig fortælle
Mikkel
“MikkelFJ” mikkelfj-anti-spam@bigfoot.com wrote in message
news:3ee0ba25$0$83068$edfadb0f@dtext01.news.tele.dk…
In Ansi, danish characters work, but in UTF-8 they don’t. It’s probably
the
initial byte order marker that confuses rdoc since no text at all shows up
(but the file is listed).I just created a single “hello.rb” file with a single comment:
#ælle bælle mig fortælle
I also tried ASCII only in the UTF-8 file, same result. Try using notepad in
Windows and save file as UTF-8. This indicates that it is probably the BOM
that is the problem, since otherwise the file should act exactly like a
plain ASCII file. I’m not sure what Pierre did with -c utf-8, but passing it
to rdoc made no difference.
Mikkel
MikkelFJ wrote:
#ælle bælle mig fortælle
Hmm - by the time that got to my e-mail program it had been converted to
iso-8859-1:
dave[~/tmp 11:10:13] od -c danish.rb
0000000 # 276 l l e b 276 l l e m i g
0000020 f o r t 276 l l e \n
0000031
I would expect the UTF-8 for the ae ligature to be oxC3 0xA6.
Is there any chance you could send it to me privately as an attachment.
Many thanks
Dave