Open LinusU opened 7 years ago
Hi Linus, thanks for reporting this.
The tag 'i-enouchian' is deprecated, so:
tags('i-enochian').errors()[0].message;
Will give you: 'The tag \'i-enochian\' is deprecated.'
There's a spec question here: should a deprecated grandfathered tag be considered valid or invalid?
For all the others, those tags are valid according to the spec, so I guess we need to make some fixes to the parser.
It seems like the following language tags, picked right from Appendix A of bcp47, isn't considered valid. Is this a bug?