im having problems displaying data from the db. im running a programm that uses coppermine db to extract info about pictures. the problem is i get the text like this:
FotografÃa aérea de la Isla de Ibiza
i guess i need to do something with the data before i show it but i dont know what function will change these characters into spanish characters, eg:
Fotografía Aérea de la Isla de Ibiza
help me plz.
there's a difference in encoding then. Post a link to your coppermine page and to the page you're having issues with for details. Any particular reason for posting your support request on a board that is named "no support"? ::)
The page is:
http://12fiesta.com/musidanza/index.php?fiesta_id=img2
i have tried several optionas as:
$description = trim(htmlentities(strip_tags(trim($descripcion,"\x7f..\xff\x0..\x1f")),ENT_QUOTES));
but i always get the same text.
All i want is to get the text with tildes.
My coppermine gallery displays the text in the format i want it, so there must be a way.
The coppermine site is:
http://12servicios.com/galerias
thx
Either get that page to output as UTF8 instead of ISO-8859-1 using headers or a meta tag or convert the data from the db into ISO-8859-1 on the fly using iconv or utf8_decode()