The Mudcat Café TM
Thread #117308 Message #2525906
Posted By: JohnInKansas
28-Dec-08 - 04:19 AM
Thread Name: BS: Phonetics Q: what's an upsidedown e ?
Subject: RE: BS: Phonetics Q: what's an upsidedown e ?
In Word, if you key Ctl-F9 you should see a funny looking pair of "curly braces" { } with your cursor between them. Type "seq charnum inside the braces, so it looks like:
{ seq charnum }
With your cursor still between the braces, Hit F9. You will now see "1"
Move to the end of the line (so that you're outside the closing brace) and insert a "tab".
Insert another set of braces (Ctl-F9) and in this set type "seq charnum \c \*HEX" to look like:
{ seq charnum \c \*HEX}
When you hit F9 this time (with the cursor still inside the second pair of braces) you'll see another "1" :
1 1
Once again go to the end of the line and insert a tab followed by &#. IMMEDIATELY after the "#" do another Ctl-F9 to get another pair of braces in which you type "seq charnum \c" and hit F9 again. Right arrow ONCE to get your cursor immediately to the right of where the last closing brace ( } ) was, and type a semicolon ";"
Your line will now look like:
1 1 
Click in the left margin to select the entire line, and Ctl-C to copy it.
Ctl-V about ten times to get ten copies of the line.
Select all ten lines and Ctl-C to copy them.
Hit Ctl-V about ten times to get 100 copies of the line.
Use Ctl-A to select all 100 lines, and hit F9.
You should now see in the left column the numbers 1 through 100.
In the second column you should see the HEX number corresponding to the DECIMAL value in the first column.
In the third column you should see the HTML code for the character whose DECIMAL number is shown in the first column.
Details:
1. Ctl-F9 inserts a "field marker"
2. "seq" tells Word what kind of field. A sequence field (seq) displays a number, and increments it by one each time the same field appears.
3. Each sequence must have a name, so I arbitrarily called it "charno" (for "character number," perhaps)
4. A "\c" tells Word to use the previous value without incrementing
5. The "\* HEX" tells it to display the result in hexadecimal rather than in decimal notation.
6. This works in all recent Word versions, but in Word 2007 the instructions have been EXPUNGED and cannot be found.
Now being able to print the first 100 characters in html isn't too interesting, since the first thrity or so are "non-printing" and the next 70 are just ordinary stuff.
Go back to the FIRST LINE and click in the left margin to highlight (select) just the first line.
Hit Shift-F9 and the "field codes" in that line should be displayed, so that you see:
In the first set of braces, add a "\r384" so that what
WAS: { seq charno }
is NOW: { seq charno \r384 }
6. The "\r384" tells Word to start (restart) numbering the charno sequence at decimal 384.
When this last change is done, do a Ctl-A again to select all of the junk you've entered, and then F9 to "update" the display values for all of these little sequence fields.
After the final update, before posting or pasting elsewhere, you should select all (Ctl-A) and key in a Ctl-Shift-F9 to convert the field result values to plain text.(Once you do this, you can't go back to the field form – it's all just text.)
For display purposes, in the above I've replaced bare "&" with "&" so that the html will display "&" – the actual character you need to type – and not read it as code for a something else. Adding a fourth column with "bare &s" should display the characters coded when the text you've entered is viewed in a browser.
I've also used a bunch of " " strings in lieu of tabs, so the columns may be a bit ragged.
For the 20 consecutive characters beginning at HEX 180, decimal 384:
If you don't see all the characters in the fourth "column" it just means that the font you've picked as the default in your browser doesn't have those characters, and you need to choose a different one (if you want to see those characters). In Vista, and probably in WinXP Times New Roman should work, but the same-named font in earlier versions may omit some or all.