<div class="gmail_quote">On Tue, Dec 15, 2009 at 3:15 AM, Ivan Lazar Miljenovic <span dir="ltr"><<a href="mailto:ivan.miljenovic@gmail.com">ivan.miljenovic@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
"Bryan O'Sullivan" <<a href="mailto:bos@serpentine.com">bos@serpentine.com</a>> writes:<br>
<br>
> using either the new locale-aware Handle code in 6.12 or a fallback<br>
> on older releases.<br>
<br>
How do you manage this? Any chance of abstracting something like this<br>
out (ala extensible-exceptions)?</blockquote><div><br></div><div>The fallback is very simple: on versions of GHC older than 6.12, you get UTF-8 codecs and your platform's native newline conversion, and that's it :-) There really isn't anything to abstract.</div>
</div>