Parent: 03f4a2e6ff11e3272dd88d9886f743bbabdc167f
Author: Rafal Michalski <michalski.raf@gmail.com>
Committer: Marcel Holtmann <marcel@holtmann.org>
Date: 2012-12-04 23:48:46
Tree: e471f206ffa6a24444e05ce047549e4916cef1d8
obexd: Support for encoding UTF-8 characters in vCard's fields This patch provides additional condition for selection of Quoted Printable encoding (for vCard's 2.1 fields). It will be satisfied if there is any byte which value is out of range standard ASCII set. Such byte may be a part of sequence (composed of more than single byte) for non-standard characters specified by UTF-8 and if detected, CHARSET parameter for property is set as "UTF-8". This fix is required since without such improvement some carkits may display non-standard characters incorrectly (for instance they may be omitted completely).
Diffstat
| M | obexd/plugins/vcard.c | | | 48 | ++++++++++++++++++++++++++++++++++++++++- - |
1 files changed, 46 insertions(+), 2 deletions(-)