Hi Greg,
On Tue, Feb 04, 2020 at 09:28:20PM -0800, Greg Steuck wrote:
> On Tue, Feb 4, 2020 at 10:38 AM Greg Steuck wrote:
> > So far I confirmed that:
> > * getLocaleEncoding is correctly steered by LC_ALL
> > * utf8 characters are accepted by ghci and correctly parsed into
> > String literal
On Tue, Feb 4, 2020 at 10:38 AM Greg Steuck wrote:
> So far I confirmed that:
> * getLocaleEncoding is correctly steered by LC_ALL
> * utf8 characters are accepted by ghci and correctly parsed into
> String literals
> * utf8 characters are printed back correctly
> * utf8 characters become
Hi Ingo,
On Mon, Feb 3, 2020 at 6:31 AM Ingo Schwarze wrote:
> The function locale_charset() appears to be part of the converters/libiconv
> package, but it appears to be totally undocumented. I failed to
> find any documentation whatsoever: neither in the package nor even
> with Google on the w
Hi Matthias,
On Mon, Feb 3, 2020 at 3:31 PM Matthias Kilian wrote:
> IIRC, the complaint (from that time 10 years ago) was that ghci
> crached at the same moment you enter a character not supported by
> whatever LC_CTYPE contains.
>
> So, yes, if you have the time to rebuild without that patch a
Hi Greg,
On Sun, Feb 02, 2020 at 10:00:06PM -0800, Greg Steuck wrote:
> Do you believe lang/ghc/patches/patch-libraries_base_cbits_PrelIOUtils_c
> is still relevant?
It's probably outdated junk. What a mess ;-)
> I ran some test programs and both locale_charset() and
> nl_langinfo(CODESET) yield
Hi Greg,
take this with a shovel of salt as i didn't test the port or anything
with Haskell (and i'm unlikely to). So this is purely from code
inspection.
Greg Steuck wrote on Sun, Feb 02, 2020 at 10:00:06PM -0800:
> Do you believe lang/ghc/patches/patch-libraries_base_cbits_PrelIOUtils_c
> is
Hi Matthias,
Do you believe lang/ghc/patches/patch-libraries_base_cbits_PrelIOUtils_c
is still relevant?
I ran some test programs and both locale_charset() and
nl_langinfo(CODESET) yield sensible results (at least for UTF8). The
history of the patch seems to go back approximately 10 years, so may