When developing a corporate application that works with documents, it became necessary to implement the storage of some information in a bar code . The idea is as follows: some of the information contained in the document (on paper) should be stored in a bar code that is printed, say, on the back side of the document. Tell me what type of bar-code is better to use, so that you can put as many characters of the Russian alphabet as possible in it. I tried Open Source - DataMatrix implementations for .NET , but there were problems with the encoding of Russian characters. To realize this business it is necessary on C # . Thank.

  • In one QR code, about 1450 Cyrillic letters are utf-8. I advise there and dig. In any case, the bar code (EAN) encodes only numbers - koks_rs

2 answers 2

Try ZXing.net

According to their website there is support for UTF-8, and the library itself works under:

.Net 2.0, 3.5 and 4.0 Silverlight 4 and 5 Windows Phone 7.0, 7.1 and 8.0 Windows CE Windows RT Unity3D (.Net 2.0 built without System.Drawing reference) Mono for Android 

    Immediately begin to determine what codes will be scanned.

    If this is a homemade scanner from a webcam smartphone, you will have certain inconveniences.

    If this scanner is in the form of a separate device, proceed from its capabilities to read and send codes to the host.

    The difference in the cost of 1D and 2D scanners is about 5-7 times. Keep this in mind.

    It may be economically feasible to store in the barcode only the ID from the database.

    • Stylcode in the code39 format is formed by a simple set of necessary data in a special font
    • It contains 18 alphanumeric characters. Enough for any id.
    • Scanners that can read this code are inexpensive and available.
    • As a scanner plan to use the camera. Store ID is not possible, because a record in the database should be formed based on the information contained in the document. - klutch1991
    • @ klutch1991 and how is the document formed, in this case? Why not immediately throw it in the database? - gbg
    • The document is generated on the client machine using a separate application. The bottom line is that the client’s machines are isolated from the database. - klutch1991