Giter Club home page Giter Club logo

Comments (9)

jfinkhaeuser avatar jfinkhaeuser commented on May 31, 2024

Thanks! I'll take a look.

from prance.

jfinkhaeuser avatar jfinkhaeuser commented on May 31, 2024

Well the good news first: I can confirm this is happening.

The reason seems to be that the file encoding for the parts file is incorrectly detected as iso-8859-2 when it is valid utf-8.

There is a heuristic in prance for detecting file encoding that's based on a bunch of backends, each of which should do better than prance itself, since they're specialized character encoding libraries. But still this fails.

As a workaround, I'm adding a CLI option for setting the file encoding, overriding detection. I'll also see if I can make the heuristic a little bit smarter.

from prance.

rganowski avatar rganowski commented on May 31, 2024

So excelent and so quick answer. Thank you very much.

from prance.

jfinkhaeuser avatar jfinkhaeuser commented on May 31, 2024

Unfortunately, I'm not always that quick :)

from prance.

jfinkhaeuser avatar jfinkhaeuser commented on May 31, 2024

Quick question, are you on Python3?

Python2 will no longer be maintained after the end of the year, so I've recently made changes to drop testing for it (it's still supported, I suppose). Would that impact you?

from prance.

rganowski avatar rganowski commented on May 31, 2024

Yes, yes, of course, as I pointed out at the end of my description:

prance==0.16.2 python 3.7.5

Yet waiting with hope for walrus op. in 3.8 :)

Thx

from prance.

jfinkhaeuser avatar jfinkhaeuser commented on May 31, 2024

Ah - I missed that, sorry. Ok, then I'll make this part of 0.17 rather than a patch release. Should be done soon either way.

from prance.

rganowski avatar rganowski commented on May 31, 2024

Once again thank you very much

from prance.

jfinkhaeuser avatar jfinkhaeuser commented on May 31, 2024

Will be released with 0.17.0

from prance.

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.