PHP/MapScript: WRAP failed
Dirk Tilger
dirk at ADVTECHME.COM
Fri Oct 14 07:17:10 PDT 2005
On Fri, Oct 14, 2005 at 03:42:25PM +0200, Ralph Anthes wrote:
> thank you for response. That matches the problem. What is the 32 for? Is
> this the Ascii-Code?
>
> I have the same problem with a "-". Is there a number available too?
'wrap' is implemented as an integer value. 32 is the character code
for ' ' in most of the ENCODINGs. For UTF-8 and US-ASCII the following
table might help you:
http://www.fileformat.info/info/unicode/block/basic_latin/utf8test.htm
The code for '-' would be 0x2d. I guess
| $layer->set('wrap',0x2d);
should do.
Dirk Tilger
Advanced Technologies ME FZ LLC
Tel +971 4 367 1071
Fax +971 4 367 2529
Mob +971 50 8809132
+966 55 1650025
More information about the MapServer-users
mailing list