[ka-Map-users] Error with the php module in Mapserver when using
Spanish characters
Sacha Black
sacha.black at gmail.com
Fri Nov 16 12:16:29 EST 2007
hi Javier,
i think this problem could happen with ANY special characters in a
URL. it's likely not limited to spanish ... see
http://www.w3schools.com/tags/ref_urlencode.asp or do a google search
on "URL encoding"
you will just have to make sure that your application passes the
correct URL-encoded strings in the request to Mapscript.
sacha
On Nov 16, 2007 8:40 AM, Javier Pascual Herranz
<javier.pascual at radmas.com> wrote:
> Hi all,
>
> I have an error with the php module in Mapserver when using Spanish
> characters.
>
> I'm gone try to tell you with detail which is our situation and which is our
> problem
>
> If I do the following consultation in Internet Explorer:
>
> http://localhost/radgis/tools/search/ConsultaGeneral.php?tipoVia=Todas&lette
> rs=cañ
>
> I receive the following error:
>
> Internal Server Error
> The server encountered an internal error or misconfiguration and was unable
> to complete your request.
> Please contact the server administrator, admin at local.domain and inform them
> of the time the error occurred, and anything you might have done that may
> have caused the error.
> More information about this error may be available in the server error log.
>
>
> If I do the same consultation from FireFox the consultation transforms into:
> http://localhost/radgis/tools/search/ConsultaGeneral.php?tipoVia=Todas&lette
> rs=ca%F1
> And returns a correct result.
>
>
> The file of log of Apache shows the following information when I do the
> consultation with Internet Explorer.
>
> (70008)Partial results are valid but processing is incomplete: utf8 to
> ucs2 conversion failed on this string:
> REDIRECT_QUERY_STRING=tipoVia=Todas&letters=ca\xf1
> [Fri Nov 16 09:51:47 2007] [error] [client 127.0.0.1] (70008)Partial
> results are valid but processing is incomplete: couldn't create child
> process: 70008: php-cgi.exe
> [Fri Nov 16 09:51:47 2007] [error] [client 127.0.0.1] (70008)Partial
> results are valid but processing is incomplete: couldn't spawn child
> process: C:/ms4w/Apache/cgi-bin/php-cgi.exe
>
>
> Do you know any solution to use special Spanish characters with PHP request?
>
> Thank you for your time
> Cheers
> Javier
>
>
>
> _______________________________________________
> ka-Map-users mailing list
> ka-Map-users at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/ka-map-users
>
More information about the ka-Map-users
mailing list