{"id":15433185,"url":"https://github.com/simonw/ftfy-web","last_synced_at":"2025-04-19T17:53:11.555Z","repository":{"id":59351699,"uuid":"116758320","full_name":"simonw/ftfy-web","owner":"simonw","description":"Paste in some broken unicode text and FTFY will tell you how to fix it!","archived":false,"fork":false,"pushed_at":"2023-02-14T21:41:45.000Z","size":15,"stargazers_count":67,"open_issues_count":7,"forks_count":8,"subscribers_count":7,"default_branch":"master","last_synced_at":"2024-10-18T07:54:20.305Z","etag":null,"topics":["python","sanic","unicode"],"latest_commit_sha":null,"homepage":"https://ftfy.now.sh/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/simonw.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-01-09T03:00:43.000Z","updated_at":"2024-08-30T17:32:57.000Z","dependencies_parsed_at":"2024-10-20T20:19:27.279Z","dependency_job_id":null,"html_url":"https://github.com/simonw/ftfy-web","commit_stats":{"total_commits":10,"total_committers":3,"mean_commits":"3.3333333333333335","dds":0.5,"last_synced_commit":"423036ded02fd8426c20141d2ba3974892b1ce60"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simonw%2Fftfy-web","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simonw%2Fftfy-web/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simonw%2Fftfy-web/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simonw%2Fftfy-web/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/simonw","download_url":"https://codeload.github.com/simonw/ftfy-web/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249753194,"owners_count":21320675,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["python","sanic","unicode"],"created_at":"2024-10-01T18:32:28.591Z","updated_at":"2025-04-19T17:53:11.539Z","avatar_url":"https://github.com/simonw.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ftfy-web\n\nA simple web wrapper around [Robyn Speer](https://twitter.com/r_speer)'s [FTFY Python library](https://github.com/LuminosoInsight/python-ftfy). Paste in some broken unicode text and it will tell you how to fix it!\n\nTry it out at https://ftfy.now.sh/\n\nThe tool outputs Python code to fix the input text, for example:\n\n    s = \"He's Justinâ\\x9d¤\"\n    s = s.encode('latin-1')\n    s = s.decode('utf-8')\n    print(s)\n\nIn some cases it will output additional imports from the ftfy package, for example:\n\n    import ftfy.bad_codecs  # enables sloppy- codecs\n    from ftfy.fixes import restore_byte_a0\n    s = 'It was namedÂ â€žscarsÂ´ stonesâ€ś after the rock-climbers who got hurt while climbing on it.'\n    s = s.encode('sloppy-windows-1250')\n    s = restore_byte_a0(s)\n    s = s.decode('utf-8')\n    print(s)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimonw%2Fftfy-web","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsimonw%2Fftfy-web","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimonw%2Fftfy-web/lists"}