Skip to content

Commit 65b17bc

Browse files
committed
Add encoding option in query to google API
1 parent c01202b commit 65b17bc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/Providers/Qr/GoogleChartsQrCodeProvider.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ public function getUrl($qrtext, $size)
6161
. '?chs=' . $size . 'x' . $size
6262
. '&chld=' . urlencode(strtoupper($this->errorcorrectionlevel) . '|' . $this->margin)
6363
. '&cht=' . 'qr'
64+
. '&choe=' . $this->encoding
6465
. '&chl=' . rawurlencode($qrtext);
6566
}
6667
}

0 commit comments

Comments
 (0)