I am working on a site that is pulling content from a database--and I have both spanish and english content stored in the table I'm using. The problem is that the ascii values for Spanish that I'm dealing with are correct for printing, but have completely different representations when shown on a web page. For example--
- hex(a3)/ascii(163) should look like an accented lower-case u, but shows up as a pound symbol on a web page
- hex(a5)/ascii(165) should look like an accented lower-case i, but shows up as the "yen" symbol on a web page.
Has anybody run into this type of situation before and come up with a solution? Note--I'm not asking for you to tell me about htmlentities()--I need a specific ascii_value->spanish_html_entity type of function. Or, failing that, has anybody a .gif of what these ascii values should look like for the spanish characters?
Thanks, in advance....