<div class="gmail_quote">On Tue, Dec 15, 2009 at 3:15 AM, Ivan Lazar Miljenovic <span dir="ltr">&lt;<a href="mailto:ivan.miljenovic@gmail.com">ivan.miljenovic@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
&quot;Bryan O&#39;Sullivan&quot; &lt;<a href="mailto:bos@serpentine.com">bos@serpentine.com</a>&gt; writes:<br>
<br>
&gt;  using either the new locale-aware Handle code in 6.12 or a fallback<br>
&gt; 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&#39;s native newline conversion, and that&#39;s it :-)  There really isn&#39;t anything to abstract.</div>
</div>