Paul, On Jan 31, 2008, at 18:23, Paul Dufresne wrote:
> I have made a small text file describing the demos that I'd like to > contribute, but then I was wondering was is the right locale to use to > save it. Yes please :-) > The default on my system, is utf-8, which is almost identical to > ISO-8859-1 as long you don't have any weird characters in it, but > then, if you have, escaping to more than one byte per character > begins. > > Gedit propose me utf-8 and ISO-8859-15. And I believe ISO-8859-15 to > be identical to ISO-8859-1 except for 2 characters I think. > > My guess is that the best is ISO-8859-1, but saving in ISO-8859-15 > would be fine, and better (less risky) than utf-8. > > I mostly ask because I made the mistake of contributing file to a > darcs using project one or two years ago with file(s) saved in utf-8, > and that was causing problems. I remember a patch send by someone with > unusual accents in his name making problems too. > > Well, in the case of my file, I belive it is plain ASCII, so it does > not really matters, but anyway, I'd like to know what you think is > best. > > I also think I remember someone saying that back-tick used in Haskell > may be problematic when switching to unicode, but I don't really know, > remember why. > The back tick is fine AFAIK. I'm using an editor that defaults to UTF-8 and I can't remember seeing any funny characters. All our names are spelled without any accents and the rest is all ASCII, too. So ISO-8859-1(5) and UTF-8 is both fine. I guess we could run a little check that there aren't any characters above 127. Axel. ------------------------------------------------------------------------- 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/ _______________________________________________ Gtk2hs-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/gtk2hs-devel
