Skip to content

Unicode charcter \u 2002 included in detections #96

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

Closed
Taiwaninja opened this issue Jun 10, 2018 · 4 comments
Closed

Unicode charcter \u 2002 included in detections #96

Taiwaninja opened this issue Jun 10, 2018 · 4 comments

Comments

@Taiwaninja
Copy link

Hey

In quite a few detections we get a result of \u2002 inside the model instead of a space,
E.g. GALAXY Note 8 SC-01K instead of GALAXY Note 8 SC-01K.

Do note that this problem is sourced in data files and can be easily fixed with a find-replace

@Taiwaninja
Copy link
Author

I would love to open a PR with a fix if I'll be granted push permissions

@rvalitov
Copy link

rvalitov commented Nov 11, 2018

You don't need push permissions to contribute. Your PR is welcome!

vincentkoc added a commit to vincentkoc/Parser-PHP that referenced this issue Jan 19, 2019
@vincentkoc
Copy link

I've added Pull Request #106 which fixes this issue

vincentkoc added a commit to vincentkoc/Parser-JavaScript that referenced this issue Jan 20, 2019
Removing references of u\2002 in data files and unit tests. Originally reported on PHP library WhichBrowser/Parser-PHP#96 - And same PR built for PHP ported to JS library WhichBrowser/Parser-PHP#106
@vincentkoc
Copy link

Added another PR in the JS Library for WhichBrowser patching the same issue there in the JS datafiles WhichBrowser/Parser-JavaScript#29

vincentkoc added a commit to vincentkoc/Parser-JavaScript that referenced this issue Jan 22, 2019
Removing references of u\2002 in data files and unit tests. Originally reported on PHP library WhichBrowser/Parser-PHP#96 - And same PR built for PHP ported to JS library WhichBrowser/Parser-PHP#106
mariotsi added a commit to WhichBrowser/Parser-JavaScript that referenced this issue Feb 6, 2019
#33)

* Removing Unicode EN+Space for Space

Removing references of u\2002 in data files and unit tests. Originally reported on PHP library WhichBrowser/Parser-PHP#96 - And same PR built for PHP ported to JS library WhichBrowser/Parser-PHP#106

* Removing Unicode EN+Space for Space

Removing references of u\2002 in data files and unit tests. Originally reported on PHP library WhichBrowser/Parser-PHP#96 - And same PR built for PHP ported to JS library WhichBrowser/Parser-PHP#106

* Now update-profiles.js and update-models.js strip away EN+SPACE character  as requested on #32

* Revert changes to data files. These files are automatically generated
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