Skip to content

force utf-8 encoding #9

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

Closed
wants to merge 1 commit into from
Closed

force utf-8 encoding #9

wants to merge 1 commit into from

Conversation

davidhcefx
Copy link

@davidhcefx davidhcefx commented Apr 16, 2020

Needed to force 'utf-8' encoding, otherwise it would throw an exception on my machine:

Traceback (most recent call last):
  File "buildall.py", line 58, in <module>
    main(options)
  File "buildall.py", line 13, in main
    utils.build_freetype()
  File "C:\Users\davidhcefx\matplotlib-winbuild\utils.py", line 225, in build_freetype
    fixproj(os.path.join(ft_dir, 'builds', 'win32', vc, 'freetype.sln'), WinXX)
  File "C:\Users\davidhcefx\matplotlib-winbuild\utils.py", line 44, in fixproj
    fd.write(content)
UnicodeEncodeError: 'cp950' codec can't encode character '\ufeff' in position 0: illegal multibyte sequence

As well as others': #6

This pull request was closed.
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

Successfully merging this pull request may close these issues.

1 participant