OS-Specific "\n" Interpolation?

Discussion in 'Ruby' started by Rob Muhlestein, Jan 1, 2007.

  1. Coming from Perl and C I have come to expect "\n" to be translated
    differently depending on OS--especially when doing sockets protocol
    programming. Ruby *appears* to be subject to this same OS/clib
    translation issue which is so often overlooked. Was hoping Ruby
    shielded the average user from this. Has anyone else had any experience
    confirming or denying this? I've written up the details in a blog post:

    http://rob.muhlestein.net/2007/01/watch-those-newlines-ruby-no-different.html
    Rob Muhlestein, Jan 1, 2007
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Replies:
    8
    Views:
    5,979
    Researcher_123
    Oct 7, 2011
  2. =?Utf-8?B?SmF2?=

    Is ViwState Page-Specific or UserControl-Specific

    =?Utf-8?B?SmF2?=, Aug 16, 2006, in forum: ASP .Net
    Replies:
    2
    Views:
    531
    =?Utf-8?B?SmF2?=
    Aug 16, 2006
  3. mazdotnet
    Replies:
    2
    Views:
    396
    Alexey Smirnov
    Oct 2, 2009
  4. Rob Muhlestein

    OS-Specific "\n" Interpolation?

    Rob Muhlestein, Jan 1, 2007, in forum: Ruby
    Replies:
    1
    Views:
    111
    Xavier Noria
    Jan 1, 2007
  5. William FERRERES
    Replies:
    7
    Views:
    217
    William FERRERES
    Jul 9, 2007
Loading...

Share This Page