Comments (3)
GTIN-12UPC-12UPC-AGTIN-13 (GLN)GTIN-14SSCCGLNGRAIGIAIGDTIGSRNUDI- GS1-128 Structure
see:
- http://www.activebarcode.com/codes/?close=
- http://www.gtin.info/check-digit-calculator
- http://www.gs1-128.info
- http://www.epc-rfid.info
- http://www.databar-barcode.info
- http://www.udi-barcode.info
And:
- https://github.com/charithe/gtin-validator
- http://code.activestate.com/recipes/577963-gtin-validate-check-digit-or-add-check-digit/
- https://boapi.googlecode.com/svn/trunk/src/php/ (Apache License)
- http://codereview.stackexchange.com/questions/19438/upc-a-validation
from isocodes.
These validators will return true for a string containing all zeroes (if the string length is correct). That edge case has to be either handled in the code or intentionally left like it is. No matter what you choose to do, this behavior needs to be documented somewhere where users can't miss it.
from isocodes.
Thanks for reporting, @tbmatuka.
Just shared fixes in #120 and tagged a new 2.1.2 version
from isocodes.
Related Issues (20)
- FR VAT number format wrong HOT 1
- Vérification du numéro de sécurité sociale incomplet HOT 4
- Fix Dec 2020 dependabot alerts
- php 7.4: 'Trying to access array offset on value of type int' HOT 1
- INSEE: 'Les caractères alphabétiques sont remplacés par des "0".' HOT 1
- +1 CUSIP validation
- +1 Global Release Identifier
- +1 International Maritime Organization
- +1 International Standard Serial Number
- +1 Vehicle identification number
- +1 Employer Identification Number
- +1 Global Release Identifier
- GTIN Checksum Calculator HOT 2
- PHP8 compatibility HOT 1
- +1 Danish CPR number HOT 1
- Convert three assignment statements to the usage of combined operators
- Add a `.gitattributes` file to reduce vendor bundle size HOT 1
- False positive result
- Iban validation fails for some formats
- ZipCode validation should be case insensitive HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from isocodes.