[mapserver-users] International characters in text paramater

Espen Isaksen espen.isaksen at gmail.com
Wed May 28 10:32:20 EDT 2008


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


More information about the mapserver-users mailing list