MCPcopy Index your code
hub / github.com/git/git / is_encoding_utf8

Function is_encoding_utf8

utf8.c:433–440  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

431}
432
433int is_encoding_utf8(const char *name)
434{
435 if (!name)
436 return 1;
437 if (same_utf_encoding("utf-8", name))
438 return 1;
439 return 0;
440}
441
442int same_encoding(const char *src, const char *dst)
443{

Callers 8

is_utf8_localeFunction · 0.85
format_noteFunction · 0.85
setup_revisionsFunction · 0.85
fallback_encodingFunction · 0.85
mbs_chrlenFunction · 0.85
replace_encoding_headerFunction · 0.85
write_commit_treeFunction · 0.85
commit_tree_extendedFunction · 0.85

Calls 1

same_utf_encodingFunction · 0.85

Tested by

no test coverage detected