Git Product home page Git Product logo

Comments (3)

ordnl avatar ordnl commented on August 16, 2024 1

I have just tested both changes on Python 2.7.13, and it seems to work fine.

I had presumed this was due to some change made in Python 3. Also, I could not identify any special characters in the course data. I can only guess it may have been caused by the content-type header or something less visible, but I am unsure.

While Python 2 has reached end of life, I understand that there are still many who still use Python 2, so the desire to maintain support is very understandable.

from echo360.

soraxas avatar soraxas commented on August 16, 2024 1

Thanks @ordnl for your verification, appreciate it. I would update the module based on your suggestion

from echo360.

soraxas avatar soraxas commented on August 16, 2024

Hi @ordnl thank you for your kind message

If you have Python2 installed in your system, would you be able to kindly verify that the proposed changes work in python2 as well? As I have tested it in both 2/3 with virtual environment myself but haven't encountered that before, therefore, might due to some special characters in your course data.

The problem that you are describing is a classical encoding issue that occurs in maintaining a python2/3 compatible project. I myself use py 3 but I tried to keep it works for both version as there are lots of users' system that has no python3 installed.

from echo360.

Related Issues (20)

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.