Skip to content
  • Johannes Schindelin's avatar
    commit-tree: encourage UTF-8 commit messages. · 9e832665
    Johannes Schindelin authored
    
    
    Introduce is_utf() to check if a text looks like it is encoded
    in UTF-8, utf8_width() to count display width, and implements
    print_wrapped_text() using them.
    
    git-commit-tree warns if the commit message does not minimally
    conform to the UTF-8 encoding when i18n.commitencoding is either
    unset, or set to "utf-8".
    
    Signed-off-by: default avatarJunio C Hamano <junkio@cox.net>
    9e832665