• Arthur Besse@lemmy.mlOP
    link
    fedilink
    English
    arrow-up
    3
    ·
    edit-2
    9 hours ago

    It’s a library for detecting which character encoding a string is encoded with.

    Here are the docs for the vibe-coded rewrite, and here is the version before it.

    The new vibe-coded version also adds language detection; it isn’t clear to me why the current version of the readme shows it classifying the string "It’s a lovely day — let’s grab coffee." as Spanish with 99% confidence, without any comment in the docs about that being a misclassification, but I guess that if the LLM-authored program says it is then that must be one of those phrases that looks the same in Spanish as in English 👀