ep2012 — 2013-02-09T21:48:58-05:00 — #1
So I just found out from Constant Contact (CC) (my client uses them, I don't LOL) that if I copy her text from her word doc to notepad to clean out the word code, it STILL doesn't remove the code.
So the CC CSR said I should manually type in the text which is a waste of time.
I always thought that copying to notepad (I've been doing this for 15 years) strips the code. He's telling me it doesn't.
Can someone tell me how to strip the code from Word so I can just copy & paste it into CC.
ralphm — 2013-02-10T02:18:39-05:00 — #2
I my experience, it works fine to copy text from Word and place it in a plain text editor. I can't speak for notepad, but you could just place it into a proper code editor and you should be OK. I sometimes paste such text into the TextEdit app on my Mac, but I have it set to plain text, not rich text etc. So perhaps it's the setting of notepad that make the differece.
As I say, though, perhaps just bypass notepad and go straight to your code editor.
scout1idf — 2013-02-10T02:20:31-05:00 — #3
I just did some testing and had no problem pasting into Note Pad.
stevie_d — 2013-02-10T02:36:21-05:00 — #4
I've never known Notepad retain anything except plain text. Of course, you don't need to go as far as switching to Notepad - in Word, just go to Paste Special > Unformatted text, and t will strip out any nasties.
ep2012 — 2013-02-10T04:22:29-05:00 — #5
I don't use a code editor, I'm not a website coder, I'm just don't freelance work for a client as her assistant.
ep2012 — 2013-02-10T04:23:03-05:00 — #6
Please re-read what I wrote. I never said I had a problem pasting it into Note pad.
ep2012 — 2013-02-10T04:25:18-05:00 — #7
That's what I said. Now I'm wondering if it's just Constant Contact & not Note Pad. Can someone do a test for me pls. & copy the text from Note Pad to some place to see if there's code behind it.
Where's this paste special thing? Under what heading?
ralphm — 2013-02-10T07:59:31-05:00 — #8
This is a web design forum, and you didn't say why you are actually copying this word text and where you are then placing it, so it's natural to assume that you are placing it on a web page—which can be problematic is you have taken the text directly from Word. If not, what are you doing with it? And what "code" are you thinking Word includes? Usually it's just formatting info, and possibly a few extra hidden characters that can mess up a web page if the text isn't cleaned up (by removing all formatting).
Many code editors are free, anyway, so they are a nice option if you need a way to clean up text.
stevie_d — 2013-02-10T17:44:41-05:00 — #9
I have no idea what Constant Contact is, so can't help you with that.
If you've got Word <2003 it's on the Edit menu, if you've got Word >2007 then click the drop down below the big Paste button (or just Paste normally and then click on the icon that appears by the pasted text for mite options).
felgall — 2013-02-10T20:19:17-05:00 — #10
Are you sure that you are not copying the same Word content into both Notepad and CC? Notepad does not retain any codes so it shouldn't matter what the following program is as long as you COPY/PASTE/COPY/PASTE and don't skip the third step.
ep2012 — 2013-02-10T23:02:23-05:00 — #11
Can you recommend an easy to use code editor.
The text is going onto CC as I mentioned. CC is a wannabe hosted list creator, they also send out events if you have an event you want to send out. So it doubles as a webpage, but it's hosted on their site.
As for what code, I have no idea, he just showed me that there was still code in there & there was & I had to manually delete it. The first time I deleted it, I deleted too much, so I spent more time than necessary doing a task that should have taken 20 seconds for me to do.
Yes I know this forum is for web design, but many entrepreneurs come here as well. I've been coming here for years.
ep2012 — 2013-02-10T23:04:01-05:00 — #12
Pretty sure. Even if I made the mistake, the CSR told me this happens all the time, so he clearly knew about it.
So I'm beginning to think it really is on their end <sigh> I hate these poorly coded sites from 10-15 years ago. They NEVER change their code, they hire people who have no clue what they are doing. 1shoppingcart is like that too.
ep2012 — 2013-02-10T23:08:15-05:00 — #13
Ok, not sure how it works. It pasted my post to Ralph LOL, I thought I had to highlight the text & then click on paste special & it would show me that it stripped the code, but I guess not. I guess I have to do something else. I'll try to look for instructions.
ralphm — 2013-02-10T23:58:52-05:00 — #14
For PC there are ones like [Notepad++ and[URL="http://www.flos-freeware.ch/notepad2.html"] Notepad2 and for Mac something like [URL="http://www.barebones.com/products/textwrangler/"]TextWrangler](http://notepad-plus-plus.org/).
When you say there was code from Word that you had to clean up, it would be useful to see an example of what this was. Do you mean just random characters?
ep2012 — 2013-02-19T13:17:47-05:00 — #15
Sorry for the delay, never got the e-mail notice there was a post.
So I guess Constant Contact was right in the end. Notepad DOESN'T strip the code from Word.
I had to submit an article to a blog (not sure what blog software they were using) & sure enough, I went into html & there was Word code in there.
Not sure how to tell you what code it is other than it was at the bottom & it said Word & there was a lot of it. I'm not a coder, so I can't read it & tell you.
Could have been the comments that I had inserted in the text much earlier on in the article, it could have been formatting code. I don't know & really don't care, all I care about is the fact that it didn't strip it like I though it was supposed to.
Now I don't know if this is happening to only software that sucks (this blog software looks really old & dated & of course so is Constant Contact), but even if the software I'm copying to uses old outdated code, that has nothing to do with notepad not stripping it.
Geeze, just nuts. Now I don't know what to do.
felgall — 2013-02-19T16:27:09-05:00 — #16
Notepad doesn't understand any of the codes so there is no way that it can not strip them out - are you certain that:
- you are not getting notepad confused with wordpad (which doesn't strip codes)
- That you are copying the text from notepad for the subsequent paste and not just pasting the same content in both places.
It doesn't matter what you do with the text after pasting it into notepad you will get the same result - the text in notepad is plain text with no codes in it because notepad doesn't support anything except plain text. So if you actually paste text with codes into notepad and then copy the text from notepad you will have plain text to paste to where ever you want to use it.
If the text you are pasting has codes in it then it wasn't copied FROM notepad.
ep2012 — 2013-02-19T23:54:24-05:00 — #17
Don't know what to tell you, I thought like you did until it happened to me again earlier today. This is now the 2nd time.
- Yes, I do know the difference between notepad & wordpad. Notepad has a blue icon. I've been using it since 2003 when I switched from WordPerfect to Word & found out that I have to copy all text from Word to notepad otherwise the code comes along with it.
I have literally 12 notepads open on my computer as we speak for that very purpose as I often copy text from word into TB. It works with TB, but then again, how do I know it works 100% b/c I can't see the html behind TB. I have no clue how to do that since I've never cared before.
Maybe it only works in TB, but not in other software. I mentioned this possibility earlier.
- Of course I'm copying from notepad LOL, I'm not a newbie, I know you have to paste it into notepad & then re-copy.
Maybe notepad has changed in the last few years. I don't know, I didn't realize this was even an issue until recently.
ralphm — 2013-02-20T00:40:31-05:00 — #18
ep2012 — 2013-02-20T01:07:14-05:00 — #19
grumpy — 2013-03-02T15:50:16-05:00 — #20
2012 is right. Notepad in Windows 7, is retaining MS Word formatting.
I just re-confirmed. :
I just created a new Word 2010 document, then started a bulleted list with 3 bullets, each with some text. Then Ctrl+A and Ctrl+C.
Opened a new Notepad, then Ctrl+V in it. The bullets and tab between bullet and text were in tact.
I hit Ctrl+S to save and the encoding was at ANSI. (The other encodings are Unicode, Unicod big endian, and UTF-8.)
I saved it with ANSI encoding. But did not get the usual warning that formatting would get lost if I'd continued.
Then closed and re-opened the same .txt document. All formatting was still there.
So I went for the ultimate test. I copied some other text to the clipboard to wipe the bulleted list.
Then Ctrl+A and Ctrl+C on the bulleted list in Notepad, and Ctrl+V into a new MS Word document.
Result was a perfect bulleted list in my MS Word document.
P.S. Why does the spellchecker of this forum think that bulleted is wrong?
next page →