display data problems display data problems
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

display data problems

Started by joseibz, March 31, 2006, 10:44:44 PM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

joseibz

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.

Joachim Müller

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"? ::)

joseibz

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

Nibbler

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()