Hi,

When I started using BBedit to edit perl scripts and texts of any
kind, I tweaked the options to my preferences and chose the most
similar options to the ones I had when I worked in linux.

So in Preferences > Text Encodings, I chose Unicode (UTF-8) for files
whose enconding can't be guessed and Unicode (UTF-8, no BOM) as the
default for new documents. In Preferences > Text Files, I chose Unix
(LF) as my default line break.

However, I was surprised to see than I can only find newlines when I
look for the regex \r, but not \n. That didn't pose any problems so I
thought it wouldn't matter.

But now I needed to upload some text files to an application which
expects a \n at the end of each new line and it didn't work. I had to
find and replace \r with \n in all the documents that I needed to
upload.

I would be handy not to have to do that and get a \n instead of a \r
whenever I click enter in BBedit. What am I doing wrong? Aren't my
preferences well chosen? Is there any other option that I'm
overlooking?

I'll be grateful for any help.

Regards, Manuel

--
------------------------------------------------------------------
Have a feature request? Not sure the software's working correctly?
If so, please send mail to <[EMAIL PROTECTED]>, not to the list.
List FAQ: <http://www.barebones.com/support/lists/bbedit_talk.shtml>
List archives: <http://www.listsearch.com/BBEditTalk.lasso>
To unsubscribe, send mail to:  <[EMAIL PROTECTED]>

Reply via email to