Hi again,

I am coming back... :)
I am sorry :/ I haven't yet understood correctly how things work...
Can you help me?

Here is what I have been experimenting.



------ First try --------------------------------------
Let's consider the following XML file:
=======================================================
<?xml version="1.0" encoding="UTF-8"?>
<root>
  <title>
          Etoilé        
  </title>
</root>
=======================================================
Nota: "Etoilé" (is the French word for "starry").
I used it because I needed a small letter with an accute (é)...

If I open that file with "Firefox" I get the following
message:
=======================================================
XML Parsing Error: not well-formed
Location: essai.xml
Line Number 5, Column 9:          Etoil?
                  ---------------^
=======================================================
I don't understand why there is an error...
How am I supposed to write it?



------ Second try -------------------------------------
Now, if I replace the "é" character with the code %E9:
=======================================================
<?xml version="1.0" encoding="UTF-8"?>
<root>
  <title>
          Etoil%E9      
  </title>
</root>
=======================================================
and open the file with "Firefox", I have no error 
anymore but here is what is displayed:
=======================================================
<root>
  <title>
          Etoil%E9      
  </title>
</root>
=======================================================



------ Third try: --------------------------------------
=======================================================
<?xml version="1.0" encoding="UTF-8"?>
<root>
  <title>
          Etoilé       
  </title>
</root>
=======================================================
In that case, when I open the file with "Firefox",
I get the small letter "e" with accute:
=======================================================
<root>
  <title>
          Etoilé        
  </title>
</root>
=======================================================

I don't understand:
- I expected the two first tries to work 
- and the last one to fail. 
What happened is the exact opposite!
I am totally confused.
I don't even know how to ask my question properly.

I think that I understand what "é" and %E9 are...
but I do not understand what é is...
moreover it is two characters "Ã" and "©" instead 
of one...

Thank you for your help :) .
Best regards,
--
Lmhelp
-- 
View this message in context: 
http://old.nabble.com/Web-page-source---%22strange%22-characters-tp27999218p28014523.html
Sent from the WikiMedia General mailing list archive at Nabble.com.


_______________________________________________
MediaWiki-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Reply via email to