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

ImageDraw Text can't handle utf-8 encoding? #550

Closed
crbreingan opened this issue Mar 17, 2014 · 4 comments
Closed

ImageDraw Text can't handle utf-8 encoding? #550

crbreingan opened this issue Mar 17, 2014 · 4 comments

Comments

@crbreingan
Copy link

I am trying to draw names on an image to make a family tree. One name has special characters, specifically č, and ć. But when I put these characters into the draw.text() function it looks like it didn't decode it correctly. It writes Ä▯ for both of the special characters.

I'm using Python 2.7 x86 with the precompiled Pillow 2.3.0 from http://www.lfd.uci.edu/~gohlke/pythonlibs/#pil

@wiredfool
Copy link
Member

This is probably fixed by #517.

@aclark4life
Copy link
Member

@crbreingan Can you test with master?

@crbreingan
Copy link
Author

I just keep running into problem after problem with installing the lastest version. That's why I use the precompiled version. It just works.

For installing the master I had to install mingw, edit distutils cygwincompiler.py, and now I'm stuck with an error that _imagingft C module is not installed. Isn't there some sort of installation instructions for all this? One with links to the necessary files?! I hate having to keep googling for error messages.

@aclark4life
Copy link
Member

@crbreingan You really don't want to be using mingw if you can help it, see #553

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

3 participants