[TinyOWS-users] Non-ASCII characters not accepted in layer title

Rahkonen Jukka Jukka.Rahkonen at mmmtike.fi
Wed May 18 03:41:39 EST 2011

Doesn't changing the encoding parameter make the whole output look like it isn't UTF-8 any more? The documentation says
encoding : Output encoding. Default is UTF-8. Others values could be ISO-8859-1 for instance. No encoding conversion is done on datas, encoding is declarative. 
I want to use UTF-8 so I just made some violence for the Finnish language by editing away the non-ASCII characters from my configuration file and now I can go on with testing.
I verified several times that my server really does stop if I have "ä" character in the title
title="MML-lentokentät v. 2011"
The server version is r537 and it is running on Ubuntu 10.04.
-Jukka Rahkonen-

	Carlos Ruiz  wrote:
	Special characters must be handled in the server responses and in the database transactions.
	That's why was added to TinyOWS the following config attributes:
/tinyows at encoding	 /map/metadata at wfs_encoding 	
/tinyows at db_encoding	 /map/metadata at tinyows_db_encoding 	
	GetCapabilities and other WFS requests seems to be broken when the xml response finds a character that 
	doesn't belong to the current encoding (UTF-8 by default).
	I suggest that you set the tinyows at encoding (config.xml) or map/metadata at wfs_encoding (config.map) to 
	a ISO-8859-X, where X takes values from 1 to 9, to support the special characters you handle.
	Cheers from México
	IC Carlos Ruiz

	From: Rahkonen Jukka <Jukka.Rahkonen at mmmtike.fi>
	To: TinyOWS users discuss list <tinyows-users at lists.maptools.org>
	Sent: Monday, May 16, 2011 11:36 PM
	Subject: [TinyOWS-users] Non-ASCII characters not accepted in layer title
	It looks like adding this layer into config.xml breaks GetCapabilities and it seems to be because of "MML-lentokentät". With "MML-lentokentat" it is accepted. Is this limitation coming from the standard?
	<layer retrievable="1"
	        title="MML-lentokentät v. 2011"
	        abstract="Maanmittauslaitoksen 1:1000000 airport-taso" />
	-Jukka Rahkonen-
	TinyOWS-users mailing list
	TinyOWS-users at lists.maptools.org

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/tinyows-users/attachments/20110518/d24f3729/attachment.htm 

More information about the TinyOWS-users mailing list