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

Contains invalid characters during print - ascii.dart #165

Open
gvsakhil opened this issue Jan 13, 2023 · 0 comments
Open

Contains invalid characters during print - ascii.dart #165

gvsakhil opened this issue Jan 13, 2023 · 0 comments

Comments

@gvsakhil
Copy link

Steps to Reproduce

  1. When we print the following words its throwing an error saying - Contains Invalid Characters
  2. This is because of following string: Konaseema Paneer Biryani – with Veggies
    WhatsApp Image 2023-01-12 at 8 11 46 PM

Description:

  1. If you observe the string carefully "-" is very huge in above string
  2. Konaseema Paneer Biryani – with Veggies (Original String Present) vs Konaseema Paneer Biryani - with Veggies (String typed by me which has very small "-")
  3. This big "-" is causing the issue and breaking the flutter app during print
  4. If you ask me how you got the big "-"? Employees in the hotel generally copy paste names from internet (May be this bought us that big "-")

The reason for posting the error in flutter channel instead of esc_pos_printer is - The issue is from ascii.dart which is part of flutter team, so I thought this would be right place for this bug.

WhatsApp Image 2023-01-12 at 8 11 46 PM

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

1 participant