Skip to content

Can't decode ill-formed UTF-8 octet sequence when using --set argument #809

@joaostorrer

Description

@joaostorrer

Sqitch is failing whenever I set a variable with a value that contains an accent:

root@d975b89f1c63:/repo# sqitch deploy flipr_test --set var="ãçê"
Deploying changes to flipr_test
  + bla_heg ......... not ok
Can't decode ill-formed UTF-8 octet sequence <E3> at end of file at /bin/../lib/perl5/App/Sqitch.pm line 480.

Deploy failed

The same happens with revert and rebase commands.

I tried setting LC_ALL & LANG envs to pt_BR.UTF-8, but the error continues.

root@d975b89f1c63:/repo# sqitch --version
sqitch (App::Sqitch) v1.4.0
root@d975b89f1c63:/repo# perl -v

This is perl 5, version 32, subversion 1 (v5.32.1) built for x86_64-linux-gnu-thread-multi
(with 47 registered patches, see perl -V for more detail)

Copyright 1987-2021, Larry Wall

Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5 source kit.

Complete documentation for Perl, including FAQ lists, should be found on
this system using "man perl" or "perldoc perl".  If you have access to the
Internet, point your browser at http://www.perl.org/, the Perl Home Page.

Metadata

Metadata

Assignees

Labels

waitingWaiting on feedback

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions