private boolean shouldAppendCharsetParam(String... propertyValueList){
  if (!mShouldAppendCharsetParam) {
    return false;
  }
  for (  String propertyValue : propertyValueList) {
    if (!VCardUtils.containsOnlyPrintableAscii(propertyValue)) {
      return true;
    }
  }
  return false;
}

private boolean shouldAppendCharsetParam ( String ... propertyValueList ) { if ( ! mShouldAppendCharsetParam ) { return false ; } for ( String propertyValue : propertyValueList ) { if ( ! VCardUtils . containsOnlyPrintableAscii ( propertyValue ) ) { return true ; } } return false ; }
returns true when the property line should contain charset parameter information . this method may return true even when vcard version is 3 . 0 . strictly , adding charset information is invalid in vcard 3 . 0 . however we ' ll add the info only when charset we use is not utf - 8 in vcard 3 . 0 format , since parser side may be able to use the charset via this field , though we may encounter another problem by adding it . e . g . japanese mobile phones use shift_jis while rfc 2426 recommends utf - 8 . by adding this field , parsers may be able to know this text is not utf - 8 but shift_jis .
