code: def _encode_ndef_text_params(self, data):
          
          status = len(self.ndef_text_lang)
          if self.ndef_text_enc == 'UTF16':
              status = status & 0b10000000
          return yubico_util.chr_byte(status) + self.ndef_text_lang + data
docs: Prepend language and enconding information to data, according to
          nfcforum-ts-rtd-text-1-0.pdf