I am trying to use HttpJob to pass city names to a MySQL database, but b4A always makes funny characters out of names like "Bácum" by turning it into "B%C3%A1cum". I don't want UTF-8 conversions which I can't seem to turn back into a recognizable city name with PHP. If I tell HttpJob (job1.Download2) the city name is "Bácum", then I want it to pass "Bácum" to PHP, not "B%C3%A1cum". I have tried replacing all the references to "UTF8" in HttpJob.bas with each of these and nothing worked - "UTF-8", "US-ASCII", "Windows-1252", "ISO-8859-1".
Can someone please help me? I have spent hours on this. Thank you.
Can someone please help me? I have spent hours on this. Thank you.
B4X:
job1.Download2("http://mydomain.com/api_atlas/atlas_b4A.php", Array As String("adm", adm, "pw", pw, "bm", the_m, "bd", the_d, "by", the_y, "hr", the_h, "mn", the_n, "city", city, "county", county, "cntry", selected_country))