I downloaded and parsed a web page.
I discovered that one of the words has an apostrophe in it.
In debug mode, looking at the binary for the web page, I can see that
the apostrophe is Hex E28099.
When I go to a web UTF8 decoder page I found at
Tim,
You win the detective reward!!! What follows is way OT
I am working on a RB program that gets the data off of a web based
database at http://tracker.ambrosia.net/redline_best.php
I have written this type of program for other web based database sites.
My program simulates the user making selections from the pull down
menus,
It gets the response page HTML, parses it to extract the table of
information, scans that data and stores off selected data in a local
database.
The problem is in the first menu the selection Brand’s Hatch. The
apostrophe is driving me nuts. In ASCII, it is simple, Hex 27.
However, in UTF8 encoding, a special apostrophe is at Hex index 2019,
which yields the Hex string of E28099. I can get either the ASCII or
UTF8 to be sent to the server from RB. The problem is that the server
apparently wants the data in macintosh/MacRoman encoding with a Hex of
D5 for the apostrophe. I am having trouble getting RB to send the D5
character. I just figured out that this was the actual problem late
last night, more work today.
Since I was working on a web page problem, I had a brain cramp and
accidently posted it to this Freeway list instead of my RB list.
Sorry