convert ASCII to ISO-Latin-1 eq
Posted: Sat Apr 18, 2009 10:55 am
im am accepting some POST data from forms and want to check for any non-ascii charachters which is no problem but then i want to be able to convert them to iso-laatin-1 which is their numerical respresentation and can be embeded in html using &#xxxx, JAVA seems to give this value using String.charCodeAt() but equivelent of this is the decimal in php but php fails yo convert some of the hexadecimals into true decimals, any ideas?