Simple-Contacts
Simple-Contacts copied to clipboard
exporting .vcf : folding counts unicode codepoints but the definition tells 75 octets
lines with multi-byte content get too long because of unicode codepoint counting instead of byte/octet counting.
can you give some example?
tibor.txt one card with many multi-byte symbols in UTF8 coding
Hi Tibor, kotlin has methode "code" telling the codepoint value of a Unicode symbol. there is a clear way to tell how many octets a Unicode symbol will take after UTF-8 transformation. US-ASCII is untouched 0x0..0x7F takes 1 octet per symbol 0x80..0x7FF takes 2 octet per symbol 0x800..0xFFFF takes 3 octets per symbol 0x10000..0x1FFFFF takes 4 octets per symbol