in reply to Re: Re: Quick and portable way to determine line-ending string?
in thread Quick and portable way to determine line-ending string?

And Unicode files that use the new linebreak/parabreak characters! Say it's a UTF-8 encoded file... no 0x0A in sight!

Like Perl itself, you need to be leniant about reading linebreaks. But you need to know the proper form for writing them.

  • Comment on Re: Re: Re: Quick and portable way to determine line-ending string?