Skip to content

Commit

Permalink
Generate QR codes with Unicode (UTF-8) encoding
Browse files Browse the repository at this point in the history
  • Loading branch information
rclement committed Aug 3, 2023
1 parent 089eedf commit 5e6dbf9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]
### Fixed
- Generate QR codes with Unicode (UTF-8) encoding

### Changed
- Update dependencies

## [0.2.0] - 2022-08-30
### Changed
Expand Down
2 changes: 1 addition & 1 deletion business_card_generator/card.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ class BaseCard:
def __init__(self, params: CardParams) -> None:
self.params = params
self.data = self.generate_data(params)
self.qrcode = make_qr(self.data)
self.qrcode = make_qr(self.data, encoding="utf-8")

def generate_data(self, params: CardParams) -> str:
raise NotImplementedError # pragma: no cover
Expand Down

0 comments on commit 5e6dbf9

Please sign in to comment.