Tried a bit more, and strange things happen. Sometimes Mapserver just runs for a long time without creating a map. Other times it creates a map, but the letters are totally wrong. When using 248 for ø I do not get any text at all. Using 156 for æ I get this:
http://bildr.no/view/205560 Appreciate it if anybody knows why this happens. Espen 2008/5/29 Espen Isaksen <[EMAIL PROTECTED]>: > Didn't get it to work as it should. > > This works: > TEXT "test" > > This does not work(no text at all in the map): > TEXT "Lysløype" > > If we do this > TEXT ("Lysløype") > > mapserver does not understand the ASCII value and prints it out > exactly as typed. > > Espen > > > 2008/5/28 Frode Wiseth Jørgensen <[EMAIL PROTECTED]>: >> Hi Espen >> >> Try this: >> >> TEXT "Lysløype" >> >> >> >> FrodeWJ >> >> >> >> >> 2008/5/28 Espen Isaksen <[EMAIL PROTECTED]>: >>> >>> Hi! >>> >>> Tried to find a answer to this but was unable to. I am trying to use >>> Norwegian characters in the text parameter in the class object. I set >>> "Text (Lysløype)" in the map file but this does not work. How can I do >>> this correctly? Example follows: >>> >>> >>> LAYER # Lysloype >>> NAME Lysloype >>> TYPE line >>> STATUS default >>> DATA bygg/lysloype >>> MAXSCALE 20000 >>> TRANSPARENCY 80 >>> LABELMAXSCALE 2000 >>> CLASS >>> STYLE >>> COLOR 255 255 0 # Gul farge. >>> SYMBOL "point_line" >>> SIZE 4 >>> END >>> >>> STYLE >>> COLOR 255 255 0 # Gul farge. >>> SYMBOL "normal_line" >>> SIZE 1 >>> END >>> >>> TEXT (Lysløpe) >>> >>> LABEL >>> SIZE 7 >>> COLOR 255 255 255 >>> OUTLINECOLOR 100 100 100 >>> ANGLE follow >>> POSITION cc >>> TYPE truetype >>> FONT Verdana_bold >>> MINDISTANCE 1000000 >>> PARTIALS false >>> END >>> END >>> END >>> _______________________________________________ >>> mapserver-users mailing list >>> [email protected] >>> http://lists.osgeo.org/mailman/listinfo/mapserver-users >> >> >> >> -- >> Frode Wiseth Jørgensen >> +47 99 03 41 42 > _______________________________________________ mapserver-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapserver-users
