Re: http://bleedperl.dan.co.jp:8080/

2002-04-27 Thread Jungshik Shin

On Sat, 27 Apr 2002, Dan Kogai wrote:

> I have set up an experimental mod_bleedperl server which URI is shown in
> the subject.
> To demonstrate the power of Perl 5.8, I have written a small cgi/pl (.pl
> runs on Apache::Registry) called piconv.pl, a web version of piconv(1).
>
> http://bleedperl.dan.co.jp:8080/piconv/
> (Don't forget :8080; it's not run on root!)
>
> What's so funny is that this service can be used to 'asciify' non-ascii
> web pages.  Bart's idea of HTMLCREF is fully exploited here.  To find it
> out, try

  Wow, this is great and very timely!! Yesterday, I wrote to  Werner
Lemberg (the maintainer of CJK package for LaTeX and freetype/ttf2tfm
among other things) and Ross Moore (the maintainer of LaTeX2html
converter) that upcoming Perl 5.8 would include this great Encoding
module. With it, I told them that it'd be trivial to represent characters
outside the repertoire of the target encoding (for html output) in
NCRs. Today, Werner expressed his interest in this feature because he
wants to make use of that in groff. Now you put up this page...

  This feature will also help reduce ill-tagged (mislabeled) pages. For
instance, a lot of Korean web pages are mislabeled as EUC-KR while they
contain characters outside EUC-KR. If Encoding is widely used in CGI
programs behind those Web bulletin boards or mod_bleedperl is used along
with Apache(I'm assuming that mod_bleedperl can do an encoding coversion
behind the scene..), all of sudden a number of mistagged pages
will disappear :-)

  Jungshik





[Encode] 1.62 released

2002-04-27 Thread Dan Kogai

I can feel 5.8 is near when I released Encode 1.62, available as follows;

Whole:
http://www.dan.co.jp/~dankogai/Encode-1.62.tar.gz

Diff Against Current: (Just 111 lines)
http://www.dan.co.jp/~dankogai/current-1.62.diff.gz

$Revision: 1.62 $ $Date: 2002/04/27 11:17:39 $
! Encode.pm
   encodings() now just check %ExtModule instead of eval{require}
   all of them for ":all" to conserve more memory.
! Encode.xs
   more "%x" -> "%" UVxf stuff.
! Encode.pm
   s/=over2/=over 2/g # oops.

Dan the Encode Maintainer




http://bleedperl.dan.co.jp:8080/

2002-04-27 Thread Dan Kogai

I have set up an experimental mod_bleedperl server which URI is shown in 
the subject.
To demonstrate the power of Perl 5.8, I have written a small cgi/pl (.pl 
runs on Apache::Registry) called piconv.pl, a web version of piconv(1).

http://bleedperl.dan.co.jp:8080/piconv/
(Don't forget :8080; it's not run on root!)

What's so funny is that this service can be used to 'asciify' non-ascii 
web pages.  Bart's idea of HTMLCREF is fully exploited here.  To find it 
out, try

http://bleedperl.dan.co.jp:8080/piconv/piconv.pl?f=euc-
jp&t=ascii&u=www.yahoo.co.jp

Then

http://bleedperl.dan.co.jp:8080/piconv/piconv.pl?f=euc-
jp&t=ascii&o=plain&u=www.yahoo.co.jp

Dan the Network Consultant by Trade