Giter Site home page Giter Site logo

Comments (3)

jmalarcon avatar jmalarcon commented on August 19, 2024

Hi Peter:

Thanks for taking the time to write about this, even when my quick and dirt utility program is written and documented in Spanish.

I see what you mean. The fragment of the code that I'm using in the main program to heuristically detect UTF8 is not writetn by me. As I tell in the comments, it's based in utf8checker. AFAIK the code is based on the Unicode indications here and passes the test data sources indicated in the Codeplex page. That was the reason to choose it in the first time, long ago, but probably has some errors, I don't know.

Do you know about any good C# Open Source implementation that gets everything right?
If you could point me to one it'll be helpful and I'd update the code in this repo.

Or do you think that the only thing needed is to change the >= for > and that's it?

Thanks in advance!

from fileencodingconverter.

pedasmith avatar pedasmith commented on August 19, 2024

FYI: I've just created a near drop-in IsUtf8 replacement; that project includes a bunch of unit tests.

from fileencodingconverter.

jmalarcon avatar jmalarcon commented on August 19, 2024

Thank you!

I'll take a look at it and fix my tool.

from fileencodingconverter.

Related Issues (2)

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.