Re: Text storage

2009-08-11 Thread Jean-Philippe Bernardy
This seems to break unicode (non ascii) support. You can open Contributors.hs and see that Payrard's first name is garbled. I'm looking at some other things right now so I'll leave this up to you... Cheers, JP. On Tue, Aug 11, 2009 at 4:20 PM, Colin McQuillan wrote: > 2009/3/22 Jean-Philippe Be

Re: Text storage

2009-08-11 Thread Colin McQuillan
2009/3/22 Jean-Philippe Bernardy : > >> have you looked at the text package [1] it may be of some help at some >> point. >> [1]: http://hackage.haskell.org/cgi-bin/hackage-scripts/package/text > > I was aware of this, but did not look at it yet. > > Thanks for reminding me! > -- JP I don't think i

Re: Text storage

2009-03-22 Thread Jean-Philippe Bernardy
> have you looked at the text package [1] it may be of some help at some > point. > [1]: http://hackage.haskell.org/cgi-bin/hackage-scripts/package/text I was aware of this, but did not look at it yet. Thanks for reminding me! -- JP --~--~-~--~~~---~--~~ Yi devel

Re: Text storage

2009-03-22 Thread nicolas . pouillard
Excerpts from Jean-Philippe Bernardy's message of Sun Mar 22 18:43:37 +0100 2009: > > So far I've tried to follow the emacs model of text storage. > > The text is stored as the exact same byte sequence as on disk, > and is converted to characters "at the

Text storage

2009-03-22 Thread Jean-Philippe Bernardy
So far I've tried to follow the emacs model of text storage. The text is stored as the exact same byte sequence as on disk, and is converted to characters "at the last moment". Advantages: * opening a file followed by saving it is never going to corrupt a file, even if the wr