[Scummvm-git-logs] scummvm master -> ab99047387e3dd8f5f84111f773e61ff338b1538

sev- sev at scummvm.org
Sun Aug 1 16:31:55 UTC 2021


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
ab99047387 COMMON: COMPANION: Avoid diuble encoding of UTF8 symbols


Commit: ab99047387e3dd8f5f84111f773e61ff338b1538
    https://github.com/scummvm/scummvm/commit/ab99047387e3dd8f5f84111f773e61ff338b1538
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2021-08-01T18:31:26+02:00

Commit Message:
COMMON: COMPANION: Avoid diuble encoding of UTF8 symbols

Changed paths:
    devtools/dumper-companion.pl


diff --git a/devtools/dumper-companion.pl b/devtools/dumper-companion.pl
index ef7ef4545a..67de9f373b 100755
--- a/devtools/dumper-companion.pl
+++ b/devtools/dumper-companion.pl
@@ -387,6 +387,7 @@ sub encode_punycode {
     no warnings 'utf8';
 
     my $input = shift;
+    utf8::decode($input);
     my $input_length = length $input;
 
     my $output = $input; $output =~ s/[^$BasicRE]+//ogs;




More information about the Scummvm-git-logs mailing list