Send Beginners mailing list submissions to
[email protected]
To subscribe or unsubscribe via the World Wide Web, visit
http://www.haskell.org/mailman/listinfo/beginners
or, via email, send a message with subject or body 'help' to
[email protected]
You can reach the person managing the list at
[email protected]
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Beginners digest..."
Today's Topics:
1. Re: HXT: encoding problem (Elias Diem)
2. Re: HXT: encoding problem (David McBride)
3. Re: HXT: encoding problem (Chadda? Fouch?)
4. Is there a way to add package to .cabal when I import some
module? (Dontdie YCH)
----------------------------------------------------------------------
Message: 1
Date: Sun, 28 Sep 2014 14:11:35 +0200
From: Elias Diem <[email protected]>
To: [email protected]
Subject: Re: [Haskell-beginners] HXT: encoding problem
Message-ID: <[email protected]>
Content-Type: text/plain; charset=utf-8
On 2014-09-28, Elias Diem wrote:
> I will test it later this day on another computer as well.
I just tested it on another Linux box. And it works!! What
could be the problem?
I noticed that on the other box I use HXT 9.3.1.1. Maybe
that is solving the problem.
--
Greetings
Elias
------------------------------
Message: 2
Date: Sun, 28 Sep 2014 11:20:52 -0400
From: David McBride <[email protected]>
To: The Haskell-Beginners Mailing List - Discussion of primarily
beginner-level topics related to Haskell <[email protected]>
Subject: Re: [Haskell-beginners] HXT: encoding problem
Message-ID:
<can+tr42sc16smm_6ihu87nuy1jfuc0upzfjjgvwz0av2rd5...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
I've had issues like this before where it had to do with the locale
settings on my machine at the time. It is subtle and annoying but it will
cause various haskell functions that read, like hGetContents to flip out if
they see a character that is not readable by the locale you have set. It
has to be something to do with that.
On Sun, Sep 28, 2014 at 8:11 AM, Elias Diem <[email protected]> wrote:
> On 2014-09-28, Elias Diem wrote:
>
> > I will test it later this day on another computer as well.
>
> I just tested it on another Linux box. And it works!! What
> could be the problem?
>
> I noticed that on the other box I use HXT 9.3.1.1. Maybe
> that is solving the problem.
>
> --
> Greetings
> Elias
>
>
> _______________________________________________
> Beginners mailing list
> [email protected]
> http://www.haskell.org/mailman/listinfo/beginners
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://www.haskell.org/pipermail/beginners/attachments/20140928/640d2ee6/attachment-0001.html>
------------------------------
Message: 3
Date: Mon, 29 Sep 2014 06:46:08 +0200
From: Chadda? Fouch? <[email protected]>
To: The Haskell-Beginners Mailing List - Discussion of primarily
beginner-level topics related to Haskell <[email protected]>
Subject: Re: [Haskell-beginners] HXT: encoding problem
Message-ID:
<CANfjZRbyeOWpABmkpm8B7XYWUK=sjqeyquy9te4mpungmvy...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
On Sun, Sep 28, 2014 at 2:11 PM, Elias Diem <[email protected]> wrote:
> On 2014-09-28, Elias Diem wrote:
>
> > I will test it later this day on another computer as well.
>
> I just tested it on another Linux box. And it works!! What
> could be the problem?
>
>
readString is documented as not doing any decoding, so you're dependent on
your readFile doing it right for you, but that depends on your locale !
You could set your IO system input encoding yourself to avoid the problem
but it seems simpler to use "readDocument" provided by Hxt instead since
that'll read the file with your specified input encoding.
--
Jeda?
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://www.haskell.org/pipermail/beginners/attachments/20140929/95c6265a/attachment-0001.html>
------------------------------
Message: 4
Date: Mon, 29 Sep 2014 18:27:00 +0900
From: Dontdie YCH <[email protected]>
To: [email protected]
Subject: [Haskell-beginners] Is there a way to add package to .cabal
when I import some module?
Message-ID:
<captm4gnfvsoywfpjo7bbunuj546ucrijo1jdo8xgcqq-ldk...@mail.gmail.com>
Content-Type: text/plain; charset=UTF-8
Is there a way to add package to .cabal when I import new module?
------------------------------
Subject: Digest Footer
_______________________________________________
Beginners mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/beginners
------------------------------
End of Beginners Digest, Vol 75, Issue 23
*****************************************