[ka-Map-users] New problem with seach and ñ, accents,...

Antonio Garcia angarben at hotmail.com
Wed Jun 20 12:39:05 EDT 2007


This message have two versions: English and Spanish version:

Problem in search with ñ or accent:

I don’t know why can’t see my text correctly when I have a search. I have a 
Postgis layer with the  encoding LATIN1, this encoding has got ñ and accents 
(It is usual in the Spanish language), and when I search any text I can not 
see this symbols and I see the symbol ?

In the KaSearch.php I can see the encoding UTF-8 but I don’t understand this 
code:

// iconv is used only if your page encoding is different from data source 
encoding in ISO-8859-13 encoding place your code

$searchstring = iconv("UTF-8", "ISO-8859-13", $_REQUEST['searchstring']);

This is my problem. How can I change the encoding to see my encoding (LATIN 
1)

Problema en search con ñ o acentos:

Yo no se por qué no puedo ver mi texto correctamente cuando tengo una 
búsqueda. Yo tengo capas Postgis con la codificación LATIN1. Esta 
codificación tiene ñ, acentos, (es habitual en el idioma Español), y cuando 
yo busco algún texto, no puedo ver estos símbolos y veo el símbolo ?

En KaSearch.php puedo ver la codificación UTF-8 pero no entiendo el código:

// iconv is used only if your page encoding is different from data source 
encoding in ISO-8859-13 encoding place your code

$searchstring = iconv("UTF-8", "ISO-8859-13", $_REQUEST['searchstring']);

Este es mi problema. ¿Cómo puedo cambiar la codificación para ver la 
codificación LATIN1

Gracias.

Saludos,
-----------
Antonio García Benlloch

Correo:
angarben at hotmail.com
angarben at topo.upv.es

Web:
http://personales.alumno.upv.es/~angarben

_________________________________________________________________
Acepta el reto MSN Premium: Correos más divertidos con fotos y textos 
increíbles en MSN Premium. Descárgalo y pruébalo 2 meses gratis. 
http://join.msn.com?XAPID=1697&DI=1055&HL=Footer_mailsenviados_correosmasdivertidos



More information about the ka-Map-users mailing list