You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Current realization FoldedLineWriter indent always one char. The result output is
FN;CHARSET=UTF-8;ENCODING=QUOTED-PRINTABLE:10 =D0=AD=D1=82=D0=B0=D0=B6 =D0=
=A1=D0=B5=D1=80=D0=B3=D0=B5=D0=B9
Second line (continue from FN) has first chards ' ' (space) as default indent.
when import vcard file on android phone I has error. Android not support space in as first characters.
Please, allow in file com.github.mangstadt.vinnie.io.FoldedLineWriter set empty indent.
public void setIndent(String indent) {
if (indent.length() == 0) {
throw new IllegalArgumentException("Indent string cannot be empty.");
}
replace
if (indent == null || indent.length() == 0) {
this.indent = "";
}
As a result: - no space on second line and vCard correct import on Android phone,
FN;CHARSET=UTF-8;ENCODING=QUOTED-PRINTABLE:10 =D0=AD=D1=82=D0=B0=D0=B6 =D0= =A1=D0=B5=D1=80=D0=B3=D0=B5=D0=B9
Thanks.
The text was updated successfully, but these errors were encountered:
Current realization FoldedLineWriter indent always one char. The result output is
FN;CHARSET=UTF-8;ENCODING=QUOTED-PRINTABLE:10 =D0=AD=D1=82=D0=B0=D0=B6 =D0=
=A1=D0=B5=D1=80=D0=B3=D0=B5=D0=B9
Second line (continue from FN) has first chards ' ' (space) as default indent.
when import vcard file on android phone I has error. Android not support space in as first characters.
Please, allow in file com.github.mangstadt.vinnie.io.FoldedLineWriter set empty indent.
public void setIndent(String indent) {
if (indent.length() == 0) {
throw new IllegalArgumentException("Indent string cannot be empty.");
}
replace
if (indent == null || indent.length() == 0) {
this.indent = "";
}
As a result: - no space on second line and vCard correct import on Android phone,
FN;CHARSET=UTF-8;ENCODING=QUOTED-PRINTABLE:10 =D0=AD=D1=82=D0=B0=D0=B6 =D0= =A1=D0=B5=D1=80=D0=B3=D0=B5=D0=B9
Thanks.
The text was updated successfully, but these errors were encountered: