src/iso2709.js
function lengthInUtf8Bytes(str) {
		const m = encodeURIComponent(str).match(/%[89ABab]/g);
		return str.length + (m ? m.length : 0);
	}
function lengthInUtf8Bytes(str) {
		const m = encodeURIComponent(str).match(/%[89ABab]/g);
		return str.length + (m ? m.length : 0);
	}
function lengthInUtf8Bytes ( str ) { const m = encodeURIComponent ( str ) . match ( / %[89ABab] / g ) ; return str . length + ( m ? m . length : 0 ) ; }
Returns the length of the input string in UTF8 bytes.
Returns the length of the input string in UTF8 bytes .