lua-users home
lua-l archive

Re: Windows query

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


2016年01月29日 8:53 GMT+02:00 Philipp Janda <siffiejoe@gmx.net>:
> If your program reads a Windows-formatted text file under Linux, then yes,
> there will be "\r" characters. The other combinations won't have "\r"
> characters.
No, what I mean is: if it reads a Windows-formatted text file
under _Windows_ in one go, with "*a", do the two-character line
endings get converted into one-character line endings?
(I know that the portable way is "lines", I'm just wondering
how portable :read"*a" is.)

AltStyle によって変換されたページ (->オリジナル) /