Title: Unicode error in sphinx

Hi,

I am a new user of sphinx.

I am running python 2.5 on xp, and have trouble with National danish characters. When I have the unicode charcaters in my document everything is fine, but when I enters the characters as displayed on my danish keybord I get this error:

Traceback (most recent call last):
  File "c:\python25\lib\site-packages\Sphinx-0.4.3-py2.5.egg\sphinx\__init__.py", line 136, in main
    app.builder.build_update()
  File "c:\python25\lib\site-packages\Sphinx-0.4.3-py2.5.egg\sphinx\builder.py", line 205, in build_update
    'out of date' % len(to_build))
  File "c:\python25\lib\site-packages\Sphinx-0.4.3-py2.5.egg\sphinx\builder.py", line 220, in build
    for docname in self.status_iterator(iterator, 'reading... ', purple):
  File "c:\python25\lib\site-packages\Sphinx-0.4.3-py2.5.egg\sphinx\builder.py", line 115, in status_iterator
    for item in iterable:
  File "c:\python25\lib\site-packages\Sphinx-0.4.3-py2.5.egg\sphinx\environment.py", line 452, in update
    self.read_doc(docname, app=app)
  File "c:\python25\lib\site-packages\Sphinx-0.4.3-py2.5.egg\sphinx\environment.py", line 490, in read_doc
    reader=SphinxStandaloneReader())
  File "C:\Python25\Lib\site-packages\docutils\core.py", line 464, in publish_doctree
    output = pub.publish(enable_exit_status=enable_exit_status)
  File "C:\Python25\Lib\site-packages\docutils\core.py", line 204, in publish
    self.settings)
  File "C:\Python25\Lib\site-packages\docutils\readers\__init__.py", line 68, in read
    self.input = self.source.read()
  File "C:\Python25\Lib\site-packages\docutils\io.py", line 275, in read
    return self.decode(data)
  File "C:\Python25\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 575-577: invalid data)


These are the characters: æøåÆØÅ   as entered on my keybord.

br

Keld Mikkelsen
_____________________________________
Systemprogrammør
Team WEBJB
Webteknik og teknisk infrastruktur
Direkte tlf. 63 63 67 91
[EMAIL PROTECTED]

JN Data A/S · Frichsvej 18 · 8600 Silkeborg
Tlf. 63 63 63 63 · Fax 63 63 63 64
www.jndata.dk




--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to