Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Ascii translation

Status
Not open for further replies.

oaklandar

Technical User
Feb 12, 2004
246
US
Does the word document have ascii characters in it? If so what is an ascii character and the number mean? For example what would the number be for an apostrope?

If I have a web page and I copy a word doucment onto the web page form sometimes it gives me weird characters for the apostrope so I was wondering if it was a Ascii translation problem??
 
Hi,

[A(merican) S(tandard) C(ode for) I(nformation) I(nterchange).]

The ASCII value for apostrophy is 39. Check HELP in VBA

Skip,

Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884
 
Hi oaklandar,

If you are getting 'odd' results, you probably haven't got apostrophes. If you have the 'smart quotes' option set (under Tools > AutoCorrect) you may well have left and right single quotes (ASCII 145 and 146 respectively, if it matters).

Enjoy,
Tony

------------------------------------------------------------------------------------------------------
We want to help you; help us to do it by reading FAQ222-2244 before you ask a question.
 
Tony, isn't ascii limited to 128 characters (7bits)?
Aren't the 145 and 146 ANSI characters ?
I guess oaklandar have a CodePage problem.

Hope This Help, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884
 
PH,

You are strictly correct .. [smile]

.. but I fear we'll confuse oaklandar if we go any further with this until we hear from him again.

Enjoy,
Tony

------------------------------------------------------------------------------------------------------
We want to help you; help us to do it by reading FAQ222-2244 before you ask a question.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top