Skip to content

Add support to special characters - #4

Open
WendelHime wants to merge 2 commits into
JASchilz:masterfrom
WendelHime:master
Open

Add support to special characters#4
WendelHime wants to merge 2 commits into
JASchilz:masterfrom
WendelHime:master

Conversation

@WendelHime

@WendelHime WendelHime commented Jul 23, 2023

Copy link
Copy Markdown

As a developer I'd like to generate QR codes for making mobile devices connect to the specified network. Right now the library doesn't support the required alphanumeric character ; so I'm creating this PR for making it work and also adding some other characters.

The current behavior of the application is raising an exception:

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "uQR.py", line 1276, in get_matrix
  File "uQR.py", line 1043, in make
  File "uQR.py", line 1109, in best_fit
  File "uQR.py", line 810, in write
TypeError: can't convert 'int' object to str implicitly

@cc123hh

cc123hh commented Feb 17, 2024

Copy link
Copy Markdown

As a developer I'd like to generate QR codes for making mobile devices connect to the specified network. Right now the library doesn't support the required alphanumeric character ; so I'm creating this PR for making it work and also adding some other characters.

The current behavior of the application is raising an exception:

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "uQR.py", line 1276, in get_matrix
  File "uQR.py", line 1043, in make
  File "uQR.py", line 1109, in best_fit
  File "uQR.py", line 810, in write
TypeError: can't convert 'int' object to str implicitly

作为一名开发人员,我想生成二维码以使移动设备连接到指定的网络。目前,该库不支持所需的字母数字字符; ,因此我正在创建此 PR 以使其正常工作,并添加一些其他字符。

应用程序的当前行为引发异常:

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "uQR.py", line 1276, in get_matrix
  File "uQR.py", line 1043, in make
  File "uQR.py", line 1109, in best_fit
  File "uQR.py", line 810, in write
TypeError: can't convert 'int' object to str implicitly

I had the same problem.

And you, my friend, you are my personal hero!

@WendelHime WendelHime changed the title Add support to more alphanumeric characters Add support to special characters Feb 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants