Hi -

I built a tiny .doc file with MS Word 2000 containing the text:

hello - world

Word did change the dash to a "long" dash on the screen.

Next, I opened the .doc file in binary mode (I my case, using the
C++ built-in editor) and found that line:

48 65 6C 6C 6F 20 96 20  77 6F 72 6C 64 0D 0D 0D
-or-
h  e  l  l  o     --     w  o  r  l  d

So the long dash is hex 96 or chr (150)

Aloha => Beau.

-----Original Message-----
From: Gabby Dizon [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 30, 2002 8:23 PM
To: [EMAIL PROTECTED]
Subject: chr help


Hi,

I have a subroutine that finds commonly found Unicode characters that
Microsoft Word uses (such as "smart quotes") and converts them to plain
ASCII text. However, there is one character whose chr() value I can't seem
to find - the MS Word long dash, which automatically replaces the normal
(short dash) when you press Enter. Does anyone know or can point me to a
location where I can find the chr() value of this character? All replies are
greatly appreciated.

Gabby Dizon
Web Developer
INQ7 Interactive, Inc.
http://www.inq7.net
http://you.inq7.net


--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to