10000 Diffs do not support non-UTF8 content · Issue #195 · libgit2/objective-git · GitHub
[go: up one dir, main page]

Skip to content
Diffs do not support non-UTF8 content #195
Open
@jspahrsummers

Description

@jspahrsummers

For example, fetching the diff for graphics.ai in mhettler/accuratelockandhardware.com@4e77bd2 will result in many nil hunk headers and lines.

libgit2 is giving us valid C strings — at least in the sense that they represent the file's content, but may be in an unknown encoding. We should use Cocoa's text encoding functions or implement some fallbacks to handle more possible cases.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0