I was trying to figure out how to change the sphinx configuration files so that it would support (for example) latin-1. Are you saying that sphinx will *only* support utf-8, and thus cannot deal with words like Facade?
Also, is this a typical error message or do most errors in Sphinx give you direction to the problem? (the error I got made it appear that Sphinx itself was broken) On Mon, Oct 13, 2008 at 2:32 AM, Jan-Philip Gehrcke <[EMAIL PROTECTED]>wrote: > > Open your source file with an editor that is able to change source > enconding and set it to utf-8. Every suitable editor should be able to > change source enconding. > > Bruce Eckel wrote: > > OK, the next question is how to make the change. The only thing I > > found in the docs was a reference to the conf.py file, but changing > > that (to, for example, latin-1 which should take care of it) doesn't > > have any effect. > > > > Thanks for any help. > > > > On Sun, Oct 12, 2008 at 8:20 PM, Peter Hoffmann <[EMAIL PROTECTED] > > <mailto:[EMAIL PROTECTED]>> wrote: > > > > > > The problem is the word Façade. As far as I know sphinx only supports > > utf-8 file encodings, but your file changeInterface/ > > changeInterface.txt (and some others too) use non ascii characters > > with 8859 file encoding. > > > > If you change the file encoding to utf-8 and try again, it should > work > > (beside some other errors due to wrong length of underline for > > headings). > > > > Regards Peter > > > > > > On 13 Okt., 03:10, "Bruce Eckel" <[EMAIL PROTECTED] > > <mailto:[EMAIL PROTECTED]>> wrote: > > > I used sphinx-quickstart to get started, and I think I followed the > > > instructions correctly. I've attached my project, which gives me > the > > > following error: > > > $ make html > > > mkdir -p _build/html _build/doctrees > > > sphinx-build -b html -d _build/doctrees . _build/html > > > Sphinx v0.4.3, building html > > > trying to load pickled env... not found > > > building [html]: targets for 20 source files that are out of date > > > updating environment: 20 added, 0 changed, 0 removed > > > reading... appFrameworks/appFrameworks > > changeInterface/changeInterface > > > Exception occurred: > > > File "C:\Python\Lib\site-packages\docutils\io.py", line 124, in > > > decode error_details)) > > > UnicodeError: Unable to decode input data. Tried the following > > encodings: > > > 'utf-8'. > > > (UnicodeDecodeError: 'utf8' codec can't decode bytes in position > > 432-434: > > > invalid data) > > > The full traceback has been saved in > > > c:\docume~1\bruce\locals~1\temp\sphinx-err-o_ecqz.log, if you > > want to report > > > the issue to the author. > > > Please also report this if it was a user error, so that a better > > error > > > message c > > > an be provided next time. > > > Send reports to [email protected] > > <mailto:[email protected]>. Thanks! > > > make: *** [html] Error 1 > > > > > > -- > > > Bruce Eckel > > > > > > book.zip > > > 267KAnzeigenHerunterladen > > > > > > > > > > -- > > Bruce Eckel > > > > > > > > > > > > -- Bruce Eckel --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "sphinx-dev" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sphinx-dev?hl=en -~----------~----~----~----~------~----~------~--~---
