Hi,

I think it is not possible, but your problem is the layer encoding. I 
don't know exactly what you have to do, but I'm sure this had been 
discussed on pmapper or mapscript lists

Sandra Liliana Moreno Mayorga a écrit :
>  
>
>
>
> Hi Everybody   
>
> I'm working MapServer and pmapper 3.2, I have a Postgres layer  , when I see 
> the imagen generated by MapServer, this not recognizes the special 
> characteres, I have a php función called 'tildes'
>
>     function tildes($texto,$remplazo=NULL){
>
>                 if($remplazo==NULL){
>
>                             $remplazo=array(
>
>                                         "Ã??"=>"Á",
>
>                                         "É"=>"É",
>
>                                         "Ã??"=>"Í",
>
>                                         "Ó"=>"Ó",
>
>                                         "Ú"=>"Ú",
>
>                                         "á"=>"á",
>
>                                         "é"=>"é",
>
>                                         "í"=>"í",
>
>                                         "ó"=>"ó",
>
>                                         "ú"=>"ú",
>
>                                         "ñ"=>"ñ",
>
>                                         "ÃÂ??"=>"Á",
>
>                                         "á"=>"á",
>
>                                         "É"=>"É",
>
>                                         "é"=>"é",
>
>                                         "ÃÂ??"=>"Í",
>
>                                         "í"=>"í",
>
>                                         "Ó"=>"Ó",
>
>                                         "ó"=>"ó",
>
>                                         "ú"=>"ú",
>
>                 "ñ"=>"ñ",
>
>                                         "Á"=>"Á",
>
>                                         "É"=>"É",
>
>                                         "Í"=>"Í",
>
>                                         "Ó"=>"Ó",
>
>                                         "Ú"=>"Ú",
>
>                                         "á"=>"á",
>
>                                         "é"=>"é",
>
>                                         "í"=>"í",
>
>                                         "ó"=>"ó",
>
>                                         "ú"=>"ú",
>
>                                         "ñ"=>"ñ",
>
>                                         "Ñ"=>"Ñ"
>
>                             );
>
>                 }
>
>                 if(is_array($remplazo)){
>
>                             $tmp=$texto;
>
>                             foreach($remplazo as $que=>$por){
>
>                                         $tmp=str_replace($que,$por,$tmp);
>
>                             }
>
>                             return $tmp;
>
>                 }
>
>                 return "Error,El arreglo de remplazo no es correcto.";
>
>     }
>
> I Want to know if is posible called this funcion in any place for to fix de 
> image generated.
>
> Thanks for all
>
> And excuse me for my english
>
>  
>
>  
>
> Sandra Liliana Moreno
>
>  
>
>
>   
> ------------------------------------------------------------------------
>
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
> trial. Simplify your report design, integration and deployment - and focus on 
> what you do best, core application coding. Discover what's new with 
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> ------------------------------------------------------------------------
>
> _______________________________________________
> pmapper-users mailing list
> pmapper-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/pmapper-users
>   
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users

Reply via email to