I am exporting contacts using http as transport:
response.setContentType("text/vcard; charset=utf-8");
response.setStatus(HttpServletResponse.SC_OK);
PrintWriter writer = response.getWriter();
VCardWriter vCardWriter = new VCardWriter(writer, VCardVersion.V4_0);
(add vcards...)
vCardWriter.close();
unfortunately, the umlauts and accented characters are not encoded properly. What am I doing wrong?
brgds,
Papick
http://stackoverflow.com/questions/18588336/how-to-properly-store-umlauts-and-accents-in-vcard-file