in reply to Perl "incompatibility" with CR when using utf-8 Files

I'd consider sending a bug report off to the folding.el people. With increasing use of Unicode, this is bound to a be a problem for a lot more people in the furture. Sounds like folding.el needs a little reimplementation.

----
I wanted to explore how Perl's closures can be manipulated, and ended up creating an object system by accident.
-- Schemer

Note: All code is untested, unless otherwise stated

  • Comment on Re: Perl "incompatibility" with CR when using utf-8 Files

Replies are listed 'Best First'.
Re: Re: Perl "incompatibility" with CR when using utf-8 Files
by PetaMem (Priest) on Apr 23, 2003 at 16:51 UTC
    Done so. Got some newer version, but behaviour didnīt change. Quite frankly I don't think that perl is absolutedly unguilty here.

    In my opinion it should be possible to accept ANY line-delimiter out of a set. Perl accepts CR or LF or both but not a mixture of these in one single file (as long as it is UTF-8 coded). Emacs does. Perl doesnīt. Emacs does...

    You see?

    Bye
     PetaMem

      Yes, that's true. This goes into the whole "interpreted whitespace is eeeeevil" argument.

      ----
      I wanted to explore how Perl's closures can be manipulated, and ended up creating an object system by accident.
      -- Schemer

      Note: All code is untested, unless otherwise stated

Re:^2 Perl "incompatibility" with CR when using utf-8 Files
by ph0enix (Friar) on Apr 23, 2003 at 16:39 UTC
    Why perl can't handle different line endings in one file?