On Wed, Feb 27, 2008 at 1:06 AM, Duncan Coutts <[EMAIL PROTECTED]> wrote: > As a data point, Java and python use "always locale" as default if you > don't specify an encoding when opening a text stream. > > I think personally I'm coming round to the "always locale" point of > view. We already have no cross-platform consistency for text files > because of the lf vs cr/lf issue and we have no cross-implementation > consistency.
I think following Java and Python in this matter is a good idea and leads to fewer surprises for developers. If you want files created on one machine to work on another you have to be explicit about encoding. -- Johan _______________________________________________ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-users