Re: [web-nfc] What's the value of `toJSON()`? (#366)

I found:

> If the attribute value is the empty string (lang=""), the language is set to unknown; if the language tag is not valid according to BCP47, it is set to invalid.

I believe most NDEF APIs defaults to en-US but will have to check. Ah actually this is what Android does:

![image](https://user-images.githubusercontent.com/1101339/66890735-61466d00-efe7-11e9-883f-1553a9cf66f7.png)


-- 
GitHub Notification of comment by kenchris
Please view or discuss this issue at https://github.com/w3c/web-nfc/issues/366#issuecomment-542524702 using your GitHub account

Received on Wednesday, 16 October 2019 05:34:31 UTC