Code Monkey home page Code Monkey logo

Comments (3)

BYVoid avatar BYVoid commented on July 21, 2024

Thanks. I am not familiar with libchardet, but it seems like a new project. uchardet is relatively older and not yet up to date. I will consider collaborate with libchardet.

from uchardet.

Jehan avatar Jehan commented on July 21, 2024

Hi,

I had a look, and though the main page has a 2015 copyright, the code seems to not have had any update for nearly 2 years (last commit's age is "641d 09h" at the time of writing, which — I will assume — means 641 days old). So that's not such a new project actually.

Apart from this, looking at the main page and the header (http://svn.oops.org/wsvn/OOPS.libchardet/trunk/src/chardet.h), they seem to have 2 logics to detect encoding, one with a single call (though it still needs init() and free() calls which goes against the whole point), one by feeding data with potentially several calls (same as us), though I don't really understand why they create 2 internal objects for this.
They also have API to return the version of the library.

In the end, it seems similar to us, except that they don't use a clear namespaced naming (they don't prefix their functions with some recognizable pattern like chardet_ or whatever), which can be quite a problem on big problem because of name clashing.

I've added libchardet in our list of "Related Projects".

from uchardet.

Jehan avatar Jehan commented on July 21, 2024

Also I've checked their list of commits and they don't seem to have any significant fix (there was one commit saying it fixes TIS-620 but checking it contents, it just seems it was not activated on their code, that's all. Also I've created a TIS-620 test file and it works well with uchardet), or feature that we could use in uchardet.

This concludes this ticket that I will now close.

from uchardet.

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.