[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] HTML Character Conversion



>On Sat, 19 Dec 1998 20:01:18 -0500, Chris Nandor wrote:
>>
>>At 19.29 -0500 1998.12.19, Brian McNett wrote:
>>>Cris Nandor <pudge@pobox.com> wrote:
>>>
>>>> Look at HTML::Entities.  That might do it.
>>>
>>>Almost, not quite:
>>>
>>>> DESCRIPTION
>>>
>>>> The decode_entities() routine replaces valid HTML entities found
>>>> in the string with the corresponding ISO-8859/1 character.
>>>
>>>ISO-8859/1 is somewhat at odds with the Mac character set (or
>>>vice-versa).  However, this could be rather quickly modified to do the
>>>job.
>>
>>Yep. Someone should do a HTML::Entities::Mac module, or make new
>functions
>>for the existing module and submit them for inclusion.  IMO.
>
>I thought someone already did. I seem to recall that someone posted a
>patch many months ago to do this. But if memory serves, people also
>commented that the ISO font was easily available, and that people doing
>Web work simply installed the font.. I thought the ISO font was defined in
>the appropriate standards as the One True Font? If so using it seems a
>reasonable thing to do.
>
>>
>>--
>>Chris Nandor          mailto:pudge@pobox.com         http://pudge.net/
>>%PGPKey = ('B76E72AD', [1024, '0824090B CE73CA10  1FF77F13 8180B6B6'])
>
>
>
>-------
>Paul J. Schinder
>schinder@pobox.com
>
>
>***** Want to unsubscribe from this list?
>***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch
>
>
I wrote the Mac<->Latin1(ISO) in the module MIME-tools-4.121 for MacPerl 
(See the modified MIME::Latin1) which could be moved in HTML::Entities...
I used the Eudora conversion tables which are bijectives, so it would do 
the job well...
You can find my modified MIME-tools-4.121 at 
<ftp://ftp.mipsys.com/JCB/perl/MIME-tools-4.121.sit.hqx>


Jean-Charles BERTIN           <mailto:jc.bertin@mipsys.com>
-----------------------------------------------------------
Software engineer
MIPSYS                              Tel.: +33 1 64 86 26 00



***** Want to unsubscribe from this list?
***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch