Handle single quote and unicode character in commit message