Hi Jean, 

It could very well be that, even though you think your whole document is
ISO-8859-1, some bits of it are in UTF-8. ISO-8859-1 can deal with
accented characters, so that is not the problem.

You might have to do a bit of researching how your GML is created (UTF-8
database?). If you run Linux or Cygwin, you could easily try if the
above assumption is correct: convert it to ISO-8859-1 using 'iconv' and
see what IE6 does with the output.

Hope it helps you get started.

Roald

On Thu, 2008-01-31 at 18:27 +0100, Jean Pommier (IGE) wrote:
> Hi,
> 
> I've met an error with IE 6 SP2, while it tries to parse a GML file
> encoded in ISO-8859-1. IE stops parsing and generates an XML Parsing
> Error when it meets an accentuated character, like "é". Very light pb
> for english-speaking people, but for me, it's annoying, as some people
> may ask me what i've done with the accents, if i remove them. Not
> speaking about automatizing the gml file generation...
> Any idea ?
> Ah, of course, my encoding is declared in the GML file, as ISO-8859-1.
> And it works perfectly on FF.
> 
> Jean
> 
> PS : are you planning to work on the compatibility with Opera and
> Safari ? Just to have an idea if i can count on it...
> PS2 :  the GML file looks like : 
> <?xml version="1.0" encoding="ISO-8859-1"?>
> <wfs:FeatureCollection xmlns:wfs="http://www.opengis.net/wfs";
> xmlns:gml="http://www.opengis.net/gml";
> xmlns:pmb="http://nsuri.notld/poweredByMapbuilder";
> xmlns:ogr="http://ogr.maptools.org/";>
> <gml:name>Carte dynamique des circuits proposes par Tessalit
> Voyages</gml:name>
>   <gml:boundedBy>
>     <gml:Box>
> 
> <gml:coord><gml:X>5.52081116541325</gml:X><gml:Y>22.79219915955201</gml:Y></gml:coord>
> 
> <gml:coord><gml:X>9.468016813294355</gml:X><gml:Y>25.54488275656217</gml:Y></gml:coord>
>     </gml:Box>
>   </gml:boundedBy>                       
>   <gml:featureMember>
>     <ogr:allcircuits fid="DJ-TA-1">
>       <ogr:geometryProperty>
> 
>  <gml:LineString><gml:coordinates>5.994689737387432,23.721584523182969
> 5.995077135655379,23.71951839908769
> 5.996239330458877,23.716548345700801
> 5.996755861482711,23.714611354361409
> 5.999338516601767,23.711899566486409
> 6.001017242429271,23.709833442390959
> 6.001404640697217,23.708800380343348
> 6.001404640697217,23.707121654516015
> 6.000500711405493,23.705572061444343
> 6.000113313137717,23.704022468373068
> 5.999209383845937,23.702989406325287
> 5.998305454554327,23.702214609789507
> 5.998305454554327,23.701052414986009
> 5.998692852822103,23.699115423646617
> 5.999209383845937,23.698340627110895
> 6.000483308748926,23.698071012040373
> 6.001545627436485,23.697948436807167
> 6.002240220424596,23.697948436807167
> 6.002934813412878,23.697662427929799
> 6.003057388645857,23.697212985408044
> 6.002689662946409,23.696395817186783
> 6.00264880453534,23.695742082609684
> 6.00264880453534,23.694965772799492</gml:coordinates></gml:LineString>
>       </ogr:geometryProperty>
>       <ogr:Id>0</ogr:Id>
>       <ogr:itineraire><![CDATA[Djanet-Tamanrasset par la piste
> Nord]]></ogr:itineraire>
>       <ogr:categorie><![CDATA[Grandes traversées]]></ogr:categorie>
>       <ogr:duree>8</ogr:duree>
>       <ogr:mode>1</ogr:mode>
>     </ogr:allcircuits>
>   </gml:featureMember>
>   <gml:featureMember>
>     <ogr:allcircuits fid="TA1">
>       <ogr:geometryProperty>
> 
> <gml:LineString><gml:coordinates>9.482198303403955,24.356088719079228
> 10.617396301550514,24.092443197341254
> 10.619540269226945,24.087330659036184
> 10.619705189817353,24.084032247226389
> 10.618385825093412,24.081393517778622
> 10.618385825093412,24.076610820654594
> 10.619705189817353,24.073147488254335
> 10.622014078084078,24.066385744044453
> 10.626302013436828,24.061932888101296
> 10.626796775208277,24.057644952748547
> 10.627786298751232,24.054016699757881
> 10.628610901703553,24.051542890900578
> 10.630425028198943,24.047914637909912
> 10.633393598827752,24.045605749643187
> 10.637186772408825,24.044946067281103
> 10.640155343037634,24.045110987871738
> 10.642629151894937,24.044121464328782
> 10.644278357799749,24.043131940785884
> 10.646422325476237,24.041812576061886
> 10.649555816695454,24.038514164252263
> 10.652359466733628,24.034885911261426
> 10.656317560905336,24.030268134727805
> 10.662089781572263,24.023506390517923
> 10.668521684601274,24.021692264022477
> 10.675778190582662,24.019548296346215
> 10.680725808297268,24.017899090441404
> 10.68484882305944,24.015590202174678
> 10.690621043726537,24.011467187412393
> 10.693754534945754,24.008333696193176
> 10.697217867346012,24.004870363792918
> 10.700186437974594,24.001736872573701
> 10.703649770375023,23.998273540173443
> 10.706948182184647,23.998108619583036
> 10.710906276356354,23.998603381354485
> 10.713050244032672,23.999427984306806
> 10.715688973480383,23.999427984306806
> 10.719152305880641,23.998933222535527
> 10.721296273556902,23.998273540173443
> 10.724128135328328,23.998229880749989</gml:coordinates>
>       </gml:LineString></ogr:geometryProperty>
>       <ogr:Id>0</ogr:Id>
>       <ogr:itineraire>TA1</ogr:itineraire>
>       <ogr:categorie><![CDATA[TA]]></ogr:categorie>
>       <ogr:duree>0</ogr:duree>
>       <ogr:mode>1</ogr:mode>
>     </ogr:allcircuits>
>   </gml:featureMember>
> 
> </wfs:FeatureCollection>
> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________ Mapbuilder-users mailing list 
> [email protected] 
> https://lists.sourceforge.net/lists/listinfo/mapbuilder-users
-- 
Roald de Wit
Software Engineer
[EMAIL PROTECTED]

Commercial Support for Open Source GIS Software
http://lisasoft.com/LISAsoft/SupportedProducts/


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Mapbuilder-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mapbuilder-users

Reply via email to