Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.newusers
FOREVER_NEWBIE FOREVER_NEWBIE is offline
external usenet poster
 
Posts: 3
Default Word produces some strange characters - can I find out ascii code forthem?

I found that if you have a word such as "John's" in WORD, and you
replace the apostrophe by 2 apostrophes (you have do this using Search/
Replace) you don't end up with 2 regular apostrophes. You get 2
characters that look like apostrophes, but they are slanted in
opposite directions. I think this is Microsoft Word's way of guessing
what the user wants. (I have Word 2000).
Unfortunately I have already pasted many word documents with this
mistake into a sql server database. I need to correct them. So I
need to do a replace of these special characters by real apostrophes.
The problem is, I don't know what that ASCII code for these characters
are. Maybe the aren't even ASCII, maybe they are Unicode.
Is there any way to find out?
Thanks,
  #2   Report Post  
Posted to microsoft.public.word.newusers
Suzanne S. Barnhill Suzanne S. Barnhill is offline
external usenet poster
 
Posts: 33,624
Default Word produces some strange characters - can I find out ascii code for them?

If you search for '' (that is, two straight apostrophes typed into the "Find
what" box), Word will find them. Or you can select them and paste them in
(Ctrl+V); this will cover the eventuality that you're dealing with something
other than opening single quotes. To replace with regular apostrophes, use
^0146 (twice).

Now here's the important part: Before running the Replace operation, go to
Tools | AutoCorrect, select the AutoFormat As You Type tab, and clear the
check box for "Straight quotes with smart quotes." If you don't do that,
Word will replace the opening single quote with an apostrophe and then
immediately correct it back again. Once you've completed the Replace
operation, you can reenable the AutoFormat option.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
http://word.mvps.org

"FOREVER_NEWBIE" wrote in message
...
I found that if you have a word such as "John's" in WORD, and you
replace the apostrophe by 2 apostrophes (you have do this using Search/
Replace) you don't end up with 2 regular apostrophes. You get 2
characters that look like apostrophes, but they are slanted in
opposite directions. I think this is Microsoft Word's way of guessing
what the user wants. (I have Word 2000).
Unfortunately I have already pasted many word documents with this
mistake into a sql server database. I need to correct them. So I
need to do a replace of these special characters by real apostrophes.
The problem is, I don't know what that ASCII code for these characters
are. Maybe the aren't even ASCII, maybe they are Unicode.
Is there any way to find out?
Thanks,


Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Why ascii characters in header fedupwMSerrors Microsoft Word Help 2 May 24th 09 10:01 PM
ASCII Characters Jim Wilsom Microsoft Word Help 1 September 10th 07 06:32 PM
Strange ASCII character and Tab Stops in Header Christy Longgrear Page Layout 3 November 1st 06 11:14 PM
Insert ASCII code Maree Microsoft Word Help 4 October 16th 05 05:26 PM
ASCII Code: Tab to next column and next row Ben Tables 1 August 25th 05 01:53 PM


All times are GMT +1. The time now is 01:27 AM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"