Answered by:
What you see is not what you get?

Question
-
Hi everybody,
This is a weird issue. Please take a look at this thread
Copy the code and post into SSMS. I got some weird ---- before each line that was converted to ??? in the result. However, I don't see these characters in the code and I even pressed Edit button and code button to copy that code - I still get these weird characters which I don't see in the code and I doubt they were there.
Do you know what can be the reason?
For every expert, there is an equal and opposite expert. - Becker's Law
My blog
Answers
-
Copy the code and post into SSMS.
Does it matter which example we choose to copy from? ; )
Do you know what can be the reason?
FWIW I often have to first paste HTML into Notepad and then copy and paste from there in order to make it usable and not just text. Does doing that help clarify your symptom?
Alternatively, does "SSMS" have a Paste Special command you can try? Doing that would help you see what Clipboard formats Google Chrome was giving you. It would be nice if W7 still had Clipbrd.exe so we could view what was being passed via the ClipBoard. The closest that we have by default now that I know about is WordPad.exe which is not the same... Wow. What a difference! (Paste Special, Unformatted.) Try that? It might be even more to your liking than using the Notepad idea.
HTH
Robert
---- Proposed as answer by Ed Price - MSFTMicrosoft employee Tuesday, October 16, 2012 10:06 PM
- Marked as answer by Ed Price - MSFTMicrosoft employee Wednesday, October 31, 2012 9:59 PM
All replies
-
-
-
Copy the code and post into SSMS.
Does it matter which example we choose to copy from? ; )
Do you know what can be the reason?
FWIW I often have to first paste HTML into Notepad and then copy and paste from there in order to make it usable and not just text. Does doing that help clarify your symptom?
Alternatively, does "SSMS" have a Paste Special command you can try? Doing that would help you see what Clipboard formats Google Chrome was giving you. It would be nice if W7 still had Clipbrd.exe so we could view what was being passed via the ClipBoard. The closest that we have by default now that I know about is WordPad.exe which is not the same... Wow. What a difference! (Paste Special, Unformatted.) Try that? It might be even more to your liking than using the Notepad idea.
HTH
Robert
---- Proposed as answer by Ed Price - MSFTMicrosoft employee Tuesday, October 16, 2012 10:06 PM
- Marked as answer by Ed Price - MSFTMicrosoft employee Wednesday, October 31, 2012 9:59 PM
-
That problem was with that particular thread. A similar code in another message of that thread didn't produce an error.
I may play with your suggestions later tonight, it's not a big problem, I just got curious.
BTW, SSMS doesn't have Paste Special.
For every expert, there is an equal and opposite expert. - Becker's Law
My blog- Edited by Naomi N Tuesday, October 16, 2012 8:27 PM