src/ccutil/unicharset.cpp
bool UNICHARSET::encodable_string(const char *str,
                                  unsigned *first_bad_position) const {
  std::vector<UNICHAR_ID> encoding;
  return encode_string(str, true, &encoding, nullptr, first_bad_position);
}
// Return whether the given UTF-8 string is encodable with this UNICHARSET.
// If not encodable, write the first byte offset which cannot be converted
// into the second (return) argument.
Return whether the given UTF-8 string is encodable with this UNICHARSET.
If not encodable, write the first byte offset which cannot be converted
into the second (return) argument.
Return whether the given UTF - 8 string is encodable with this UNICHARSET . If not encodable write the first byte offset which cannot be converted into the second ( return ) argument .
bool UNICHARSET::encodable_string(const char *str,
                                  unsigned *first_bad_position) const {
  std::vector<UNICHAR_ID> encoding;
  return encode_string(str, true, &encoding, nullptr, first_bad_position);
}
bool UNICHARSET :: encodable_string ( const char * str , unsigned * first_bad_position ) const { std :: vector < UNICHAR_ID > encoding ; return encode_string ( str , true , & encoding , nullptr , first_bad_position ) ; }
Return whether the given UTF-8 string is encodable with this UNICHARSET.
Return whether the given UTF - 8 string is encodable with this UNICHARSET .