You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It is true that this function may return the same result for different chunks of data. Please, keep in mind that this is not standalone function, this is just a part of a cascade. Every next step will revaluate data again in order to choose optimum encoding method... This also helps to avoid mentioned collision.
I agree with you. However, it is apparently not enough to assure correctness. I tried a bit with your nice datamatrix generator tool and found a collision (i.e. same datamatrix) for these strings:
Encoding the messages 'aa9' and 'aa`' to TEXT gives identical results for both which can't be correct.
=> [239, 89, 190, 254]
=> [239, 89, 190, 254]
The text was updated successfully, but these errors were encountered: