Giter Site home page Giter Site logo

ffmirror's People

Contributors

alethiophile avatar

Watchers

 avatar  avatar

ffmirror's Issues

Unicode error

When trying to download this user: https://www.fanfiction.net/u/4294222/Elhini-Prime

Story 3 (https://www.fanfiction.net/s/11967471/3/Shadow-and-Light) returns the following error:

Traceback (most recent call last): File "C:\Python34\lib\runpy.py", line 170, in _run_module_as_main "__main__", mod_spec) File "C:\Python34\lib\runpy.py", line 85, in _run_code exec(code, run_globals) File "C:\Python34\lib\ffmirror\__main__.py", line 151, in <module> actions[pn]() File "C:\Python34\lib\ffmirror\__main__.py", line 118, in run_add download_list(**args.__dict__) File "C:\Python34\lib\ffmirror\__main__.py", line 108, in download_list cur_mirror.update_list(nsl, callback=progress) File "C:\Python34\lib\ffmirror\mirror.py", line 116, in update_list mod.compile_story(i, toc, out, contents=True, callback=callback) File "C:\Python34\lib\ffmirror\ffnet.py", line 182, in compile_story outfile.write(text + "\n\n") File "C:\Python34\lib\encodings\cp1252.py", line 19, in encode return codecs.charmap_encode(input,self.errors,encoding_table)[0] UnicodeEncodeError: 'charmap' codec can't encode character '\u014d' in position 6343: character maps to <undefined>

I think this is due to non-English characters, is there any way to fix this?

The following is the source of the issue:
"Qui vállë tóquetë, ván tecë (If no review comes from y'all; no story comes from me)
Máriessë ar mára tecië"

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.