Giter Site home page Giter Site logo

Encoding Issue? about beancount-dkb HOT 7 CLOSED

siddhantgoel avatar siddhantgoel commented on August 15, 2024
Encoding Issue?

from beancount-dkb.

Comments (7)

asteriuscz avatar asteriuscz commented on August 15, 2024 1

Just for the other who need to find a way on Win10.
bean-extract config.py transaction.csv | Out-File -Encoding utf8 -Append ledger.beancount

will do the work for you

from beancount-dkb.

siddhantgoel avatar siddhantgoel commented on August 15, 2024

Are you running the importer on a Windows system or a POSIX one?

from beancount-dkb.

MDKaiser avatar MDKaiser commented on August 15, 2024

Windows 10.

from beancount-dkb.

siddhantgoel avatar siddhantgoel commented on August 15, 2024

Another question: if you don't pipe the result to path_to_beancount and just print it to the console, do those characters still show up?

from beancount-dkb.

MDKaiser avatar MDKaiser commented on August 15, 2024

Interesting:
So far I've used "powershell" (default in Visual Studio Code) to call on bean-extract. This produces the symbol-issue shown above. When piping into the console, everything appears normal however.

After your comment, I've also tried running bean-extract in a Windows command prompt and piping into the .beancount file: This works (almost)! Umlaute are still messed up (like mentioned in the last sentence of my first comment).

from beancount-dkb.

siddhantgoel avatar siddhantgoel commented on August 15, 2024

Hey, I'm not sure if we need to keep this issue around? To me this sounds like something with the development environment. Especially because the methods inside this package are returning plain Python data structures. The actual job of piping the output is done inside bean-extract so Beancount's mailing list might be more helpful in this regard.

from beancount-dkb.

siddhantgoel avatar siddhantgoel commented on August 15, 2024

I'll mark this as closed for now.

from beancount-dkb.

Related Issues (12)

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.