[tor-commits] [Git][tpo/applications/rbm][main] Bug 40069: Fix encoding of stdout and stderr
richard (@richard)
git at gitlab.torproject.org
Tue Jan 30 12:51:31 UTC 2024
richard pushed to branch main at The Tor Project / Applications / RBM
Commits:
067c30ee by Nicolas Vigier at 2024-01-30T12:50:32+01:00
Bug 40069: Fix encoding of stdout and stderr
Set stdout and stder encoding based on nl_langinfo, or LC_ALL and LANG
locale environment variables, as suggested on
https://perldoc.perl.org/open.
- - - - -
1 changed file:
- rbm
Changes:
=====================================
rbm
=====================================
@@ -1,6 +1,7 @@
#!/usr/bin/perl -w
use strict;
+use open OUT => ':locale';
use File::Basename;
use lib dirname($0) . '/lib';
use RBM;
View it on GitLab: https://gitlab.torproject.org/tpo/applications/rbm/-/commit/067c30ee4cf3baa1c0b7e3674d785cf9e5bec8fe
--
View it on GitLab: https://gitlab.torproject.org/tpo/applications/rbm/-/commit/067c30ee4cf3baa1c0b7e3674d785cf9e5bec8fe
You're receiving this email because of your account on gitlab.torproject.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.torproject.org/pipermail/tor-commits/attachments/20240130/8488c3fc/attachment.htm>
More information about the tor-commits
mailing list