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 |