В vCard 4.0 RFC 6350 говорится, что новые строки в значениях параметров свойств должны быть закодированы. как \n (по крайней мере, для параметра LABEL свойства ADR):
The property can also include a "LABEL" parameter to present a
delivery address label for the address. Its value is a plain-text
string representing the formatted address. Newlines are encoded
as \n, as they are for property values.
ADR;GEO="geo:12.3457,78.910";LABEL="Mr. John Q. Public, Esq.\n
Mail Drop: TNE QB\n123 Main Street\nAny Town, CA 91921-1234\n
U.S.A.":;;123 Main Street;Any Town;CA;91921-1234;U.S.A.
Однако vCard 4.0 RFC 6350 обновлен 'Кодирование значений параметров в iCalendar и vCard' RFC 6868 а>, в котором говорится:
formatted text line breaks are encoded into ^n (U+005E, U+006E)
GEO;X-ADDRESS="Pittsburgh Pirates^n115 Federal St^nPitt
sburgh, PA 15212":geo:40.446816,-80.00566
being used
Как кодировать новые строки в значениях параметров vCard 4.0 как \n или как ^n?