Inverted question marks and carriage returns

1,029 views
Skip to first unread message

Gary Chike

unread,
Apr 18, 2016, 8:29:28 AM4/18/16
to BBEdit Talk
Hi everyone,
I noticed that when I save an HTML file in other editors like Espresso or Chocolat and open that file in BBedit, the carriage returns are replaced with red inverted question marks. TextMate shows "<CR>" everywhere in the same file. Interestingly enough, when I save the same file in Sublime Text or Flux 6, the red inverted question marks disappear and the formatting returns to normal in both BBedit and TextMate. Any thoughts?

Gary

Patrick Woolsey

unread,
Apr 18, 2016, 8:37:45 AM4/18/16
to bbe...@googlegroups.com
Since such a file almost certainly contains mixed line endings,
please choose Text -> Normalize Line Endings, then save the
file, and it should display correctly everywhere.


Regards,

Patrick Woolsey
==
Bare Bones Software, Inc. <http://www.barebones.com/>


Bruce Linde

unread,
Apr 18, 2016, 11:45:55 AM4/18/16
to BBEdit Talk, pwoo...@barebones.com
are you kidding me? 'normalize line endings'?

i thought SOP was "try a bunch of encodings only to find that none of them work. then try to copy and paste the upside-down question marks into the search and replace dialog box only to find that they paste in as a line return or nothing. beat head on wall. view source in a browser and then copy and paste the source into a new document."

why is it on us to RTFM? why can't bbedit just 'know' when line returns need normalizing, and automatically take care of it? for that matter, why can't bbedit figure out why my code doesn't work? or why i have to pay property taxes? or why i lost that particular eBay auction?

seriously... just another great feature i never noticed before... but needed. and now have.

thanks (as always) for a rockin' app.

Tom Robinson

unread,
Apr 18, 2016, 6:50:01 PM4/18/16
to bbe...@googlegroups.com
I realise sarcasm is engaged, but BBEdit does normally handle line breaks transparently, so there’s probably an inconsistent mixture in those docs.

Cheers

Bruce Linde

unread,
Apr 18, 2016, 6:55:45 PM4/18/16
to BBEdit Talk
exactly. because bbedit does such a great job of handling this in the background, i had no idea one could have an inconsistent mix of line returns... or that that was the cause of the red questions marks... or that there was a simple menu item for dealing with same.

Gary Chike

unread,
Apr 21, 2016, 2:44:57 PM4/21/16
to BBEdit Talk, pwoo...@barebones.com
Wow, that worked wonderfully. Thank you!

Cheers,

Gary
Reply all
Reply to author
Forward
0 new messages