Skip to content

Commit

Permalink
Add encoding option in query to google API
Browse files Browse the repository at this point in the history
  • Loading branch information
fman42 committed Oct 17, 2021
1 parent c01202b commit 65b17bc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/Providers/Qr/GoogleChartsQrCodeProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ public function getUrl($qrtext, $size)
. '?chs=' . $size . 'x' . $size
. '&chld=' . urlencode(strtoupper($this->errorcorrectionlevel) . '|' . $this->margin)
. '&cht=' . 'qr'
. '&choe=' . $this->encoding
. '&chl=' . rawurlencode($qrtext);
}
}

0 comments on commit 65b17bc

Please sign in to comment.