Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: UTF8 codes > 3 bytes are not currently supported. Or perhaps "-Gcharset=latin1" is needed? #1

Open
jayhawk opened this issue Feb 21, 2014 · 4 comments

Comments

@jayhawk
Copy link

jayhawk commented Feb 21, 2014

I got this error. Error: UTF8 codes > 3 bytes are not currently supported. Or perhaps "-Gcharset=latin1" is needed? Any suggestion on how to solve it? Thanks

@Mitmischer
Copy link

Try git-draw -p > out.dot and dot -Gcharset=latin1 -Tpng out.dot > out.png

@sensorflo
Copy link
Owner

You're right. But I don't have a clear idea how to solve it. Maybe one command line option to define the character encoding used for the content of all git objects. Internally that would be passed on to dot ala "-Gcharset=latin1" as you suggested.

@tiandalihe
Copy link

git-draw: command not found
why exist this problem?

@sensorflo
Copy link
Owner

Is the executable mode bit set? Being in the directory you installed git-draw do a ls like so

$ ls -la git-draw
-rwxr-xr-x 1 sensorflo sensorflo 11398 Feb 23 18:50 git-draw

The forth letter from the left must be an x like in the example above. You can set the executable bit like so

$ chmod u+x git-draw

When trying to execute, make sure the directory your git-draw script is in is in your PATH environment variable, or maybe better execute it like "./git-draw" instead just "git-draw".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants