
17 May
2009
17 May
'09
7:15 p.m.
0> In article <4A105A9C.3080303@free.fr>, 0> frmas <URL:mailto:frmas@free.fr> ("Frmas") wrote: Frmas> Error at line 148424, col 84 Frmas> Bad file format: cartes/paris.osm 0> In article <87ljovy2k0.fsf@balti.rawlyn.homeip.net>, 0> Toby Speight <URL:mailto:T.M.Speight.90@cantab.net> ("Toby") wrote: Toby> What encoding is the file? It looks like there's a mix of Latin-1 and Toby> UTF-8 in that source file. How was it generated? I forgot to say: it may help to see the bytes of the file. Try /-------- | head cartes/paris.osm | grep -F '<?xml' \-------- to see what encoding the XML claims to be, and /-------- | sed -n -e '148424{' -e 'p' -e 'q' -e '}' cartes/paris.osm | od -t x1c \-------- to view the problematic part.