Re: problem with libc6 / iconv

2016-10-10 Thread Jérémy Lal
2016-10-10 21:29 GMT+02:00 Vincent Lefevre :

> On 2016-10-09 10:21:03 +0300, Lars Wirzenius wrote:
> > On Sun, Oct 09, 2016 at 01:49:14AM +0200, Jérémy Lal wrote:
> > > node-iconv used to be able to translit utf-8 chars (ça va) to ascii
> (ca va)
> > > using setlocale("C.UTF-8") trick.
> > >
> > > However, several libc6 version ago, that behavior changed, to the point
> > > node-iconv fails its tests now.
> > >
> > > I've failed to work around that, and i'm lacking libc6 knowledge to
> fix it,
> > > or even properly report a bug about that. Please help me !
> >
> > Write a short script that reproduces the problem, and attach it to a
> > mail that explains what you want to do, what you expect the script to
> > output, and what the actual output is. Sen report the problem to
> > one of:
> >
> > * upstream: https://www.gnu.org/software/libc/bugs.html
> > * Debian: https://www.debian.org/Bugs/
> >
> > I would expect this to be an upstream bug, and that it would faster to
> > get it fixed by reporting it upstream.
>
> No, I doubt that this can be an upstream bug as upstream does not
> support/provide C.UTF-8. It is an addition in Debian and some other
> distributions.
>
>
I suggest to continue the discussion in bug #840199.

Jérémy


Re: problem with libc6 / iconv

2016-10-10 Thread Vincent Lefevre
On 2016-10-09 10:21:03 +0300, Lars Wirzenius wrote:
> On Sun, Oct 09, 2016 at 01:49:14AM +0200, Jérémy Lal wrote:
> > node-iconv used to be able to translit utf-8 chars (ça va) to ascii (ca va)
> > using setlocale("C.UTF-8") trick.
> > 
> > However, several libc6 version ago, that behavior changed, to the point
> > node-iconv fails its tests now.
> > 
> > I've failed to work around that, and i'm lacking libc6 knowledge to fix it,
> > or even properly report a bug about that. Please help me !
> 
> Write a short script that reproduces the problem, and attach it to a
> mail that explains what you want to do, what you expect the script to
> output, and what the actual output is. Sen report the problem to
> one of:
> 
> * upstream: https://www.gnu.org/software/libc/bugs.html
> * Debian: https://www.debian.org/Bugs/
> 
> I would expect this to be an upstream bug, and that it would faster to
> get it fixed by reporting it upstream.

No, I doubt that this can be an upstream bug as upstream does not
support/provide C.UTF-8. It is an addition in Debian and some other
distributions.

-- 
Vincent Lefèvre  - Web: 
100% accessible validated (X)HTML - Blog: 
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)



Re: problem with libc6 / iconv

2016-10-09 Thread Lars Wirzenius
On Sun, Oct 09, 2016 at 01:49:14AM +0200, Jérémy Lal wrote:
> node-iconv used to be able to translit utf-8 chars (ça va) to ascii (ca va)
> using setlocale("C.UTF-8") trick.
> 
> However, several libc6 version ago, that behavior changed, to the point
> node-iconv fails its tests now.
> 
> I've failed to work around that, and i'm lacking libc6 knowledge to fix it,
> or even properly report a bug about that. Please help me !

Write a short script that reproduces the problem, and attach it to a
mail that explains what you want to do, what you expect the script to
output, and what the actual output is. Sen report the problem to
one of:

* upstream: https://www.gnu.org/software/libc/bugs.html
* Debian: https://www.debian.org/Bugs/

I would expect this to be an upstream bug, and that it would faster to
get it fixed by reporting it upstream.

-- 
I want to build worthwhile things that might last. --joeyh


signature.asc
Description: PGP signature


problem with libc6 / iconv

2016-10-08 Thread Jérémy Lal
Hi,

node-iconv used to be able to translit utf-8 chars (ça va) to ascii (ca va)
using setlocale("C.UTF-8") trick.

However, several libc6 version ago, that behavior changed, to the point
node-iconv fails its tests now.

I've failed to work around that, and i'm lacking libc6 knowledge to fix it,
or even properly report a bug about that. Please help me !

Regards,
Jérémy