perl-unicode

Re: [Encode] Proposal; Make them all .ucm and detach Encode::Tcl

2002-03-25 03:00:35
Dan Kogai <dankogai(_at_)dan(_dot_)co(_dot_)jp> writes:
On Monday, March 25, 2002, at 04:06 , Dan Kogai wrote:
  *.pm and *.pod are easy to fix but *.enc is tough because Encode::Tcl
and compile faithfully generate canonical encoding name out of
filenames.
  For the time being I will fix *.pod and *.pm but I am stoked on
*.euc.  Tell me what you guys think.

  I think the easiest solution to this is, as the title says, replace
all *.enc to *.ucm and detach Encode::Tcl from Encode package,  Because
*.ucm can independently set encoding name from file name.  I know NI-S
would second that but I wonder what Sadahiro-san would feel.

It should not be too hard to take the .ucm file parsing from 'compile'
and teach Encode::Tcl-like all-perl code to read .ucm-s.
We can then rename it Encode::Perl ;-)


  Upon Sadahiro-san's OK, I will go ahead do so.  Here is my strategy;

0.     Generate all the necessary *.ucm via
  perl5.7.3 ./compile -n $encname -o Encode/$encname.ucm
Encode/$encname.enc
1.  rename non-8.3-compliant *.ucm and reflect changes to */Makefile.PL
2.  detach Encode::Tcl and upload it to CPAN.

  I think the last part of 2. should be done by Sadahiro-san.  I will
detach Encode::Tcl and send it to Sadahiro-san.  How about that?

Dan the Encode Maintainer
--
Nick Ing-Simmons
http://www.ni-s.u-net.com/