<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.19046"></HEAD>
<BODY>
<DIV dir=ltr align=left><FONT color=#0000ff size=2 face=Arial><SPAN
class=887522508-18052011>Hi,</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT color=#0000ff size=2 face=Arial><SPAN
class=887522508-18052011></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT color=#0000ff size=2 face=Arial><SPAN
class=887522508-18052011>Doesn't changing the encoding parameter make the
whole output look like it isn't UTF-8 any more? The documentation
says</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT color=#0000ff size=2 face=Arial><SPAN
class=887522508-18052011>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. <BR>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.</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT color=#0000ff size=2 face=Arial><SPAN
class=887522508-18052011></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT color=#0000ff size=2 face=Arial><SPAN
class=887522508-18052011>I verified several times that my server really does
stop if I have "ä" character in the title</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT color=#0000ff size=2 face=Arial><SPAN
class=887522508-18052011>title="MML-lentokentät v. 2011"</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT color=#0000ff size=2 face=Arial><SPAN
class=887522508-18052011>The server version is r537 and it is running on Ubuntu
10.04.</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT color=#0000ff size=2 face=Arial><SPAN
class=887522508-18052011></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT color=#0000ff size=2 face=Arial><SPAN
class=887522508-18052011>Regards,</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT color=#0000ff size=2 face=Arial><SPAN
class=887522508-18052011></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT color=#0000ff size=2 face=Arial><SPAN
class=887522508-18052011>-Jukka Rahkonen-</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT color=#0000ff size=2 face=Arial><SPAN
class=887522508-18052011></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT color=#0000ff size=2
face=Arial></FONT> </DIV><FONT color=#0000ff size=2 face=Arial></FONT><BR>
<BLOCKQUOTE
style="BORDER-LEFT: #0000ff 2px solid; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px"
dir=ltr>
<DIV dir=ltr lang=fi class=OutlookMessageHeader align=left><FONT size=2
face=Tahoma>Carlos Ruiz<SPAN class=887522508-18052011><FONT color=#0000ff
face=Arial> wrote:</FONT></SPAN></FONT><BR></DIV>
<DIV></DIV>
<DIV
style="BACKGROUND-COLOR: #fff; FONT-FAMILY: arial, helvetica, sans-serif; COLOR: #000; FONT-SIZE: 10pt">
<DIV><SPAN>Jukka,</SPAN></DIV>
<DIV><FONT color=#0000ff></FONT><FONT
color=#0000ff></FONT><BR><SPAN></SPAN></DIV>
<DIV><SPAN>Special characters must be handled in the server responses and in
the database transactions.</SPAN></DIV>
<DIV><SPAN><FONT color=#0000ff></FONT><FONT
color=#0000ff></FONT><BR></SPAN></DIV>
<DIV><SPAN>That's why was added </SPAN><SPAN>to TinyOWS </SPAN><SPAN>the
following config attributes:<BR></SPAN></DIV>
<DIV><FONT color=#0000ff></FONT><FONT
color=#0000ff></FONT><BR><SPAN></SPAN></DIV>
<TABLE class=wiki>
<TBODY>
<TR>
<TD>/tinyows@encoding</TD>
<TD>/map/metadata@wfs_encoding </TD></TR>
<TR>
<TD>/tinyows@db_encoding</TD>
<TD>/map/metadata@tinyows_db_encoding </TD></TR></TBODY></TABLE>
<DIV><FONT color=#0000ff></FONT><FONT
color=#0000ff></FONT><BR><SPAN></SPAN></DIV>GetCapabilities and other WFS
requests seems to be broken when the xml response finds a character that
<BR>doesn't belong to the current encoding (UTF-8 by default).<BR><BR>I
suggest that you set the tinyows@encoding (config.xml) or
map/metadata@wfs_encoding (config.map) to <BR>a ISO-8859-X, where X takes
values from 1 to 9, to support the special characters you
handle.<BR><BR>Cheers from México<BR> <BR>
<DIV><FONT
style="FONT-FAMILY: verdana, helvetica, sans-serif; COLOR: rgb(0,96,191); FONT-WEIGHT: bold"
size=2>IC Carlos Ruiz</FONT><BR><BR></DIV>
<DIV style="FONT-FAMILY: arial, helvetica, sans-serif; FONT-SIZE: 10pt">
<DIV
style="FONT-FAMILY: times new roman, new york, times, serif; FONT-SIZE: 12pt"><FONT
size=2 face=Arial>
<HR SIZE=1>
<B><SPAN style="FONT-WEIGHT: bold">From:</SPAN></B> Rahkonen Jukka
<Jukka.Rahkonen@mmmtike.fi><BR><B><SPAN
style="FONT-WEIGHT: bold">To:</SPAN></B> TinyOWS users discuss list
<tinyows-users@lists.maptools.org><BR><B><SPAN
style="FONT-WEIGHT: bold">Sent:</SPAN></B> Monday, May 16, 2011 11:36
PM<BR><B><SPAN style="FONT-WEIGHT: bold">Subject:</SPAN></B> [TinyOWS-users]
Non-ASCII characters not accepted in layer title<BR></FONT><BR>Hi,<BR><BR>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?<BR><BR><layer
retrievable="1"<BR> writable="0"<BR>
ns_prefix="lv"<BR> ns_uri="http://latuviitta.fi/"<BR>
name="mml_airport"<BR>
title="MML-lentokentät v. 2011"<BR>
abstract="Maanmittauslaitoksen 1:1000000 airport-taso" /><BR><BR>-Jukka
Rahkonen-<BR>_______________________________________________<BR>TinyOWS-users
mailing list<BR><A href="mailto:TinyOWS-users@lists.maptools.org"
ymailto="mailto:TinyOWS-users@lists.maptools.org">TinyOWS-users@lists.maptools.org</A><BR>http://lists.maptools.org/mailman/listinfo/tinyows-users<BR><BR><BR></DIV></DIV></DIV></BLOCKQUOTE></BODY></HTML>