[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Error when building using iconv to convert problematic encondings to UTF-8



On Mon, 11 Jul 2022 23:57:21 +0500
Andrey Rahmatullin <wrar@debian.org> wrote:

> Are you sure converting that file is useful and won't break the software for the
> use cases when this file is used?

You're right it breaks program menus[0]. Once I handle to use iconv properly I see it ...

On Mon, 11 Jul 2022 22:03:30 +0200
Adam Borowski <kilobyte@angband.pl> wrote:

> On Mon, Jul 11, 2022 at 11:57:21PM +0500, Andrey Rahmatullin wrote:
> > Your input and output file is the same. Looks like iconv crashes with
> > SIGBUS in this case, instead of just silently truncating the file or
> > something like that, as many other tools would do in this case. If you
> > really want to convert the file, you need to output the result to a
> > different file and then move it to the old location.
> 
> Or use "sponge"; package "moreutils".
> 

I will better fill in a request/bug upstream.
Thank you both!

[0]https://imgur.com/a/ngd3pXb

Regards,

Attachment: pgpMkS6SKTwNV.pgp
Description: PGP signature


Reply to: