Gentoo Archives: gentoo-user

From: thelma@×××××××××××.com
To: Gentoo mailing list <gentoo-user@l.g.o>
Subject: [gentoo-user] locating non utf-8 characters
Date: Tue, 03 Nov 2020 05:46:58
Message-Id: 72a378e8-211b-2372-eeeb-eee360982378@sys-concept.com
1 I'm using sql-ledger and while making backup it uses stardard gzip program:
2 $gzip = "gzip -S .gz";
3
4 The backup works with some dataset but one data set us giving me an
5 error while trying to perform backup:
6
7 Wide character in print at SL/AM.pm line 2044.
8 Content-Type: application/file; Content-Disposition: attachment;
9 filename=dataset_3-3.2.6-20201101.sql.gz
10 ãù&ü_1604265628.dataset_3-3.2.6-20201101.sqlÏ\Yo;ñ~œØ –
11
12 Since sql-ledger file are standard utf-8 files, I was thinking using:
13 grep -axv '.*' file
14
15 would find all not utf-8 characters. And it did. I use "nano" to remove
16 them but I'm still getting the same error while performing backup.
17
18 Any ideas?
19
20 --
21 Thelma

Replies

Subject Author
Re: [gentoo-user] locating non utf-8 characters Michael <confabulate@××××××××.com>