Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NDEF_WriteText function is missing language and encoding parameters #22

Open
Gerriko opened this issue Dec 18, 2022 · 1 comment
Open
Assignees
Labels
enhancement New feature or request

Comments

@Gerriko
Copy link

Gerriko commented Dec 18, 2022

The NDEF_WriteText function only allows for "en" language option via ISO_ENGLISH_CODE_STRING. There is no way to include other languages, like "de" for example.

It is also unclear whether the function has simply assumed it is UTF-8 encoding as I cannot see this specified in the code. Usually you have the option to specify either UTF-8 or UTF-16.

@cparata cparata added the enhancement New feature or request label Dec 19, 2022
@cparata
Copy link
Contributor

cparata commented Dec 19, 2022

Hello @Gerriko ,
you are right. At the moment these settings are hardcoded. We need to enhance the library to support also these features. I guess that the default settings is UTF-8 (encoding bit = 0). Any contribution is welcome to improve the library.
Best Regards,
Carlo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants