You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 7, 2019. It is now read-only.
Traceback (most recent call last):
File "/Users/user/Development/Projects/Docs/sphinx/myenv/bin/javasphinx-apidoc", line 11, in <module>sys.exit(main())
File "/Users/user/Development/Projects/Docs/sphinx/myenv/lib/python2.7/site-packages/javasphinx/apidoc.py", line 317, in main write_documents(documents, sources, opts)
File "/Users/user/Development/Projects/Docs/sphinx/myenv/lib/python2.7/site-packages/javasphinx/apidoc.py", line 112, in write_documents f.write(document)
UnicodeEncodeError: 'ascii' codec can't encode character u'\xe1' in position 1464: ordinal not in range(128)
I wanto to specific the encoding of the files for the apidoc can write this files using utf-8.
This should perhaps be kept open until it is fixed properly. I don't know if my suggested fix is the right one (because I don't really know python, or the details of UTF-8 and python), but happy to send a PR with my fix.
I have a java project, where my java files use the "UTF-8" encoding, 'cause the comments on some classes are writted on spanish using accents.
When i run the command.
javasphinx-apidoc -o docs/java ~/Development/Projects/code/java -f -v
always return the follow error:
I wanto to specific the encoding of the files for the apidoc can write this files using utf-8.
is this possible?
i asked this question on SO in this thread
Thanks for your help.
The text was updated successfully, but these errors were encountered: