On page 51, figure 18 shows an example with Liechtenstein. Contrary to your assumptions, LI is present on the address line: LI - 9490 Vaduz;
On page 52, figure 19 shows an example with Germany: DE- 78462 Konstanz
Both examples use a dash to separate the country code and the rest, although in slightly different manners (one with a space before and after, the other only with a space after). I personally think the first version is the more aesthetically pleasing.
I've updated the code and two test cases.
Thanks a lot for your work on this wonderful and very useful library!
There are some news regarding the issue of country codes mentioned in #9 and the wiki.
The version 2.2 of the SIX – Swiss Implementation Guidelines QR-bill (2021-02-22) shows 2 examples of country codes being used.
LI - 9490 Vaduz
;DE- 78462 Konstanz
Both examples use a dash to separate the country code and the rest, although in slightly different manners (one with a space before and after, the other only with a space after). I personally think the first version is the more aesthetically pleasing.
I've updated the code and two test cases.
Thanks a lot for your work on this wonderful and very useful library!