GithubHelp home page GithubHelp logo

nullism / repocms Goto Github PK

View Code? Open in Web Editor NEW
3.0 3.0 0.0 540 KB

This project has been replaced by PyKwiki. It is no longer maintained.

Home Page: https://github.com/nullism/pykwiki

Python 91.80% JavaScript 8.20%

repocms's People

Contributors

aaronmeier avatar nullism avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

repocms's Issues

Unicode searches also break

By Tim J via ContactMe:

Unicode searches also break:

File "/home/redrider/RepoCMS/src/templates/theme-light/search.html", line 10, in block "content" 
    Showing {{add.results|count}} of {{add.pager.total}} results for "{{add.search}}"

UnicodeDecodeError: 'ascii' codec can't decode byte 0xc9 in position 0: ordinal not in range(128)

Reproduce by searching for a unicode character, such as "ะ–"

Tim

RepoCMS cannot handle UTF-8 entities in source pages.

Submitted on behalf of Tim J. via ContactMe:

UTF-8 characters found in repoCMS source provide the following errors when cache-control.py tries to parse those files:

File "/usr/lib/python2.7/re.py", line 151, in sub
      return _compile(pattern, flags).sub(repl, string, count)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 84: ordinal not in range(128)

Please allow unicode and UTF-8 source files.

Tim

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.