On Wed, Jul 06, 2011 at 03:38:03AM +0900, Stephen J. Turnbull wrote: > Gabriel Kerneis writes: > > > And please, don't ask me to take the locale into account. > > You should at least warn if the locale is set and isn't UTF-8.
Which means adding a bunch of C code to fetch it. It would probably not be too hard to implement (copying the code from the encoding package [1]), but is it really worth the trouble of having IO striking back right in the middle of a so beautiful piece of pure code? [1]: http://hackage.haskell.org/package/encoding Locales should really be dead now (at least wrt. encoding), that's why UTF-8 has been designed after all. Best, -- Gabriel _______________________________________________ darcs-users mailing list [email protected] http://lists.osuosl.org/mailman/listinfo/darcs-users
