At 16:36 -0500 1/15/09, stephen taylor wrote:
Every now and then I copy some sample code (e.g. JavaScript) from a
web page (not from the source) and paste it into a BBEdit document. If
I copy from Safari (which I use most of the time), and the sample code
contains non-breakable space ( ) . . .

I'm confused.  And I'm on OS 10.3.9 and BBEdit 8.5 because of my 
SE/30 file server that I can't give up.

But when I copy other people's HTML or JavaScript into BBEdit the non 
breaking space shows up as an encoded   which looks like 6 7-bit 
ASCII characters starting with an ampersand and ending with a 
semicolon.

In the Apple world that means an OPTION-space 8-bit character or 
possibly an equivalent unicode symbol but it is in the encoded form 
to facilitate transmission via a web site.

Just where is it getting converted to the 16 bit  unicode that is in 
BBEdit's image in memory? And is it a unicode non-breaking space? At 
that level it can't be an OPTION-space using Apple's upper-ASCII 
encoding. Is the original JavaScript in UTF-8 encoding to start with?

I would think BBEdit would just keep the encoding when expanding 
unicode or simple ASCII from a clipboard generated by a browser.
-- 

--> From the U S of A, the only socialist country that refuses to admit it. <--

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "BBEdit Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/bbedit?hl=en
If you have a specific feature request or would like to report a suspected (or 
confirmed) problem with the software, please email to "[email protected]" 
rather than posting to the group.
-~----------~----~----~----~------~----~------~--~---

Reply via email to