Git Product home page Git Product logo

voluntariat-el-tingladu's People

Contributors

alfonsovng avatar

Stargazers

 avatar

Watchers

 avatar

voluntariat-el-tingladu's Issues

Labels with UTF-8 encoding

Hola @alfonsovng! Estava donant una ullada per veure si podia ajudar :)
Estava a punt de fer un merge request, però he vist que tens una branca nova amb canvis de carpetes, i com que el meu és només un canvi molt petit ho explico per què ho apliquis a la nova branca, que serà més fàcil.

Amb Windows, He vist que alguns textos que utilitzen els "labels" no es mostren els accents be, y si algun amb windows vol colaborar ho veura malament. Suposo que amb Linux no pasa. Com per exemple:

Captura
Captura2

El configparser accepta el paràmetre encoding. Llavors bàsicament seria ficar al helper.py aquest paràmetre:
self.config.read(current_directory + "/labels/texts.ini", encoding="UTF-8")

Lo únic que si hi ha dates ja a la base de dades, com per exemple "Les teves recompenses", es tindrà que netejar els caràcters incorrectes. Sempre i quan sigui el cas. Potser amb linux no hi és aquest problema.

Si necessites alguna ajuda pel projecte, jo encantat!
Un salut!

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.