Skip to content

latin-1 character encoding error #34

@Bgs4269

Description

@Bgs4269

After upgrading my source (see #31) I was able to import most of the mediawiki, but got stuck here:

Traceback (most recent call last):
File "./yamdwe.py", line 93, in
main()
File "./yamdwe.py", line 61, in main
exporter.write_pages(pages)
File "/home/bgs/wiki/yamwde/yamdwe/dokuwiki.py", line 41, in write_pages
self._convert_page(page)
File "/home/bgs/wiki/yamwde/yamdwe/dokuwiki.py", line 80, in _convert_page
(len(page["revisions"]), page['title']))
UnicodeEncodeError: 'latin-1' codec can't encode character u'\u0151' in position 46: ordinal not in range(256)

  1. Any way to find the "offending character" on the source page?
  2. Is this a source error or a yamdwe error?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions