{"adoption": {"forks": 358, "observed_at": "2026-08-28T04:05:14.265876+00:00", "stars": 1633}, "canonical_url": "https://ross.abutalabs.com/products/forceutf8", "card": {"archived": false, "artifact_type": "library", "description": "PHP Class Encoding featuring popular Encoding::toUTF8() function --formerly known as forceUTF8()-- that fixes mixed encoded strings.", "domain": ["developer-tools", "web-development"], "enriched": true, "function": ["serialization", "parser", "developer-tools"], "health_score": 20, "homepage": null, "language": "PHP", "license": null, "license_family": "other", "maturity": "active", "member_repos": ["neitanod/forceutf8"], "name": "neitanod/forceutf8", "platform": ["php"], "pushed_at": "2023-06-19T18:08:07+00:00", "repo": "neitanod/forceutf8", "stars": 1633, "tags": ["encoding", "utf8", "character-encoding", "string-manipulation", "text-processing", "encoding-detection", "latin1", "windows-1252", "mojibake", "data-cleaning", "natural-language-processing"], "topics": [], "urls": [], "use_cases": ["fix garbled utf8 strings in php", "convert latin1 or windows-1252 strings to utf8", "repair double-encoded utf8 text", "clean mixed encoding from unreliable data sources", "normalize string encoding before storing in database", "fix mojibake like FÃ©dÃ©ration to Fédération", "handle mixed utf8 and latin1 in the same string"], "what_it_is": "A PHP library providing static Encoding class methods (toUTF8, fixUTF8, toLatin1) that convert strings of unknown or mixed encoding—Latin1, Windows-1252, UTF-8, or combinations—into clean UTF-8. It also repairs double- or multiply-encoded (garbled/mojibake) UTF-8 strings, with optional iconv flags for transliteration or character dropping.", "when_to_avoid": ["you need full character-set detection beyond Latin1/Windows-1252/UTF-8 (consider mb_detect_encoding or a dedicated detection library)", "you're not working in PHP", "you need streaming or very large text processing with performance-critical encoding conversion", "you need transliteration to ASCII or locale-aware case folding"], "when_to_choose": ["you have PHP strings with unknown or mixed encodings (Latin1, Windows-1252, UTF-8) that need to be normalized to UTF-8", "you need to repair double- or multiply-encoded UTF-8 (mojibake) without knowing how many times it was encoded", "you're ingesting data from unreliable sources like legacy databases, scrapes, or third-party APIs with inconsistent encoding", "you want a simple static-method API with no dependencies beyond optional iconv"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/forceutf8", "repo": "neitanod/forceutf8", "role": "main", "score": 23}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:05:14.265876+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T03:47:20.973320+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "765483eeb8fea11f9f51a404354defdc83428cc2ab0490d5ea461267cabbe3aa", "fetched_at": "2026-08-28T04:05:14.265876+00:00", "kind": "readme", "missing": false, "url": "https://github.com/neitanod/forceutf8"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:05:14.265876+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T03:47:20.973320+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "765483eeb8fea11f9f51a404354defdc83428cc2ab0490d5ea461267cabbe3aa", "fetched_at": "2026-08-28T04:05:14.265876+00:00", "kind": "readme", "missing": false, "url": "https://github.com/neitanod/forceutf8"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T03:47:20.973320+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "765483eeb8fea11f9f51a404354defdc83428cc2ab0490d5ea461267cabbe3aa", "fetched_at": "2026-08-28T04:05:14.265876+00:00", "kind": "readme", "missing": false, "url": "https://github.com/neitanod/forceutf8"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:05:14.265876+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:05:14.265876+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:05:14.265876+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T03:47:20.973320+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "765483eeb8fea11f9f51a404354defdc83428cc2ab0490d5ea461267cabbe3aa", "fetched_at": "2026-08-28T04:05:14.265876+00:00", "kind": "readme", "missing": false, "url": "https://github.com/neitanod/forceutf8"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:05:14.265876+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:05:14.265876+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T03:47:20.973320+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "765483eeb8fea11f9f51a404354defdc83428cc2ab0490d5ea461267cabbe3aa", "fetched_at": "2026-08-28T04:05:14.265876+00:00", "kind": "readme", "missing": false, "url": "https://github.com/neitanod/forceutf8"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:05:14.265876+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:05:14.265876+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:05:14.265876+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T03:47:20.973320+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "765483eeb8fea11f9f51a404354defdc83428cc2ab0490d5ea461267cabbe3aa", "fetched_at": "2026-08-28T04:05:14.265876+00:00", "kind": "readme", "missing": false, "url": "https://github.com/neitanod/forceutf8"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:05:14.265876+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:05:14.265876+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T03:47:20.973320+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "765483eeb8fea11f9f51a404354defdc83428cc2ab0490d5ea461267cabbe3aa", "fetched_at": "2026-08-28T04:05:14.265876+00:00", "kind": "readme", "missing": false, "url": "https://github.com/neitanod/forceutf8"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T03:47:20.973320+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "765483eeb8fea11f9f51a404354defdc83428cc2ab0490d5ea461267cabbe3aa", "fetched_at": "2026-08-28T04:05:14.265876+00:00", "kind": "readme", "missing": false, "url": "https://github.com/neitanod/forceutf8"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T03:47:20.973320+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "765483eeb8fea11f9f51a404354defdc83428cc2ab0490d5ea461267cabbe3aa", "fetched_at": "2026-08-28T04:05:14.265876+00:00", "kind": "readme", "missing": false, "url": "https://github.com/neitanod/forceutf8"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T03:47:20.973320+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "765483eeb8fea11f9f51a404354defdc83428cc2ab0490d5ea461267cabbe3aa", "fetched_at": "2026-08-28T04:05:14.265876+00:00", "kind": "readme", "missing": false, "url": "https://github.com/neitanod/forceutf8"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 0, "longevity": 100, "rhythm": 8}, "computed_at": "2026-09-03T02:20:16.233290+00:00", "flags": ["no_license"], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 4969, "days_push": 1171, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 23, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}