Palm to Android via Linux

Palm to Android via Linux

Mordecha Behar mordecha.behar at mail.huji.ac.il
Wed Jun 1 10:24:22 IDT 2011


'\n' isn't a newline everywhere?
Or even '\r'?

On Wed, Jun 1, 2011 at 10:22 AM, shimi <linux-il at shimi.net> wrote:

> 2011/6/1 Mordecha Behar <mordecha.behar at mail.huji.ac.il>
>
>> I've encountered the opposite problem.
>> Files I create in a Linux text editor (Kwrite) don't open properly in
>> Windows Notepad. I get the entire file on one line.
>> Maybe there's something strange going on behind the scenes in KDE?
>>
>>
>>
> That's something else and relates to the way Unix and Windows define
> "newline".
>
> You could run your file through the unix2dos utility prior to moving it to
> Windows, and it will most probably solve your issue.
>
> Alternatively, if you'll be using Kate (which I think is better than
> KWrite), you have Tools -> End of Line -> UNIX (and you can change there to
> Windows/DOS)
>
> HTH,
>
> -- Shimi
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.cs.huji.ac.il/pipermail/linux-il/attachments/20110601/d4f8464b/attachment.html>


More information about the Linux-il mailing list