[mapserver-users] ascii code in a .map file

Paul Ramsey pramsey at opengeo.org
Tue Nov 16 12:30:54 EST 2010


You have to not put the HTML entities in your data statement.

P.

On Tue, Nov 16, 2010 at 9:20 AM, rafacabanas <correoderafa at hotmail.com> wrote:
>
> Hello,
> I have a .map file which access to a postgres data base. The select query
> contains an ascii code character representing the " symbol. For example:
>
> SELECT * FROM    & # 3 4 ;   table_name   & # 3 4  ;
>
> instead of
>
> SELECT * FROM "table_name"
>
> Mapserver doesn't show the layer and when checking the log file of the data
> base I've seen that there's and syntaxis error in that position.
>
> If I change myself the file .map, it works. However, that's not a solution
> because the .map has to be automatically generate by another app. How can I
> solve that problem? Is there any way to change the mapserver encoding? I
> there any way to make that mapserver replace the ascii code?
>
> Note: I write the ascii code whith spaces becaus the post editor replaces
> the code
>
> Thanks in advance
> --
> View this message in context: http://osgeo-org.1803224.n2.nabble.com/ascii-code-in-a-map-file-tp5744626p5744626.html
> Sent from the Mapserver - User mailing list archive at Nabble.com.
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>


More information about the mapserver-users mailing list