Coder Social home page Coder Social logo

Comments (5)

ownaginatious avatar ownaginatious commented on July 18, 2024

Thanks for bringing this up! It's expected that the Hungarian date format isn't supported (each one has to be added manually for each language), but that's very odd that the letters are getting corrupted.

Did you happen to open your messages.htm file ahead of time and save in a format other than UTF-8?

I will try exporting my own data with the Hungarian locale to see if I can diagnose the issue.

from fbchat-archive-parser.

Rastamas avatar Rastamas commented on July 18, 2024

Just double checked, did not open with anything, just copied out of the zip and into the working folder. Tried opening it with notepad++ and converting it to UTF-8 again but that didn't help either.

Probably worth mentioning that I'm running it from win10 cli .

from fbchat-archive-parser.

ownaginatious avatar ownaginatious commented on July 18, 2024

So I just downloaded my own data in the Hungarian locale, and I see the following:

Unexpected time format in "2013. jรบlius 16., 21:18 PDT". If you downloaded your Facebook data in a language other than English, then it's possible support may need to be added to this tool.
Please report this as a bug on the associated GitHub page and it will be fixed promptly.

It seems the letters are coming out as expected. I think the issue may be your terminal not being set to UTF-8 encoding.

Anyway, if you pipe your data to a file when extracting, it should have the correct encoding. I'll add Hungarian-style date support now ๐Ÿ‘

from fbchat-archive-parser.

Rastamas avatar Rastamas commented on July 18, 2024

I was just about to write..., starting the console with the proper encoding fixed the issue. Sorry about that.
Thanks for adding the Hungarian date support! :)

from fbchat-archive-parser.

ownaginatious avatar ownaginatious commented on July 18, 2024

If you pull the newest version from PyPI (0.8.post16) you should be able to parse your data correctly.

from fbchat-archive-parser.

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.