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

I can't see the value of barcode on toast When I scan barcode when keyboard on Korean.. #17

Open
SooHoon95 opened this issue Feb 23, 2022 · 3 comments

Comments

@SooHoon95
Copy link

I Want to see the values of barcode immediately on toast message.
But when I use this pack during setting keyboard for Korean,
the value doesn't have korean charaters

ex) value of barcode : 100Barcode-123123

when I scan in Eng -> 100Barcode-123123
but in Korean -> 100-123123

so I inspected the package.

I expect that when I use in iOS , the values return keylabel types.
and keyLabel is defined in doc

'it will be missing special processing for Unicode strings for combining characters and other special characters, and the effects of modifiers.'.

so I don't know what i have to do next.
I need your help guys

@danielroek
Copy link
Collaborator

Hi @SooHoon95 ,

When using keyLabel we found that some characters where displayed wrong, for example a '2' instead of '@'. Because it ignores modifiers. This is why we chose to use character instead. I'm also not sure if using keyLabel would solve the issue. You could test this by using version 0.1.1, this version did use the MacOS keyLabel.

@SooHoon95
Copy link
Author

SooHoon95 commented Mar 10, 2022

I already use version 0.1.1.
Can it be wrong about Unicode or surport problem language of keyLabel?? in IOS?

really bother me..

@shaxxx
Copy link
Owner

shaxxx commented Nov 11, 2022

There's a limit to first 255 characters in ASCII table since working with unicode need extra care and testing on different platforms.

if (keyEvent.logicalKey.keyId > 255 && keyEvent.data.logicalKey != LogicalKeyboardKey.enter) return;

Maybe you can try without this?

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

No branches or pull requests

3 participants