
Hi Jeremy and John, Thank you very much Jeremy for your very detailed answer ! I checked in Gitit source and found various occurences of usage of Byte8 strings, which John as confirmed. I switched template.html to advertising encoding of iso-8859-1 and things are working ok. I setup LANG (and LC_ALL) to fr_FR.UTF-8. When I set meta tag with utf-8 encoding, things get messy. John: I checked your url and, oddly enough, characteres appears OK when I manually change page display encoding to latin-1. I came to the possibly obvious conclusion that: -gitit communicated with HApps hence the outside world in latin-1 - talk to git in utf-8 Is this the right picture ? If so, then I have part of the problem solved. Using latin-1 for input/display is annoying only for the € (euro) symbol. Regards, Arnaud BTW, my accents problem solved, I would like to work with RSS feeds so that: 1. a user could put a feed inside a page 2. gitit could produce feeds for changes/adds I have done things like that before in Java but would need some directions to incorporate it in gitit. -- Arnaud Bailly, PhD OQube - Software Engineering web> http://www.oqube.com

I switched template.html to advertising encoding of iso-8859-1 and things are working ok. I setup LANG (and LC_ALL) to fr_FR.UTF-8. When I set meta tag with utf-8 encoding, things get messy.
John: I checked your url and, oddly enough, characteres appears OK when I manually change page display encoding to latin-1. I came to the possibly obvious conclusion that: -gitit communicated with HApps hence the outside world in latin-1 - talk to git in utf-8
Is this the right picture ?
No -- if this works, it's by accident! After your initial query, I discovered that gitit did not in fact support UTF-8 properly. I have now fixed all the problems I'm aware of and released version 0.3.4.1. (When you try this, use utf-8 again in the meta tag in your template.) The new version even allows multilingual page names -- anything your file system will allow as a filename should work. There's a demonstration at http://johnmacfarlane.net:5001/Multilingual.
BTW, my accents problem solved, I would like to work with RSS feeds so that: 1. a user could put a feed inside a page 2. gitit could produce feeds for changes/adds I have done things like that before in Java but would need some directions to incorporate it in gitit.
Check out the rss package in Hackage: http://hackage.haskell.org/cgi-bin/hackage-scripts/package/rss John
participants (2)
-
Arnaud Bailly
-
John MacFarlane