display data problems display data problems
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

display data problems

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

Previous topic - Next topic

0 Members and 1 Guest 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()