{"id":19476957,"url":"https://github.com/jw4/to8","last_synced_at":"2025-10-19T10:58:01.039Z","repository":{"id":57571338,"uuid":"115671481","full_name":"jw4/to8","owner":"jw4","description":"Go command line tool to convert text files in all \"other\" encodings to UTF8 with no BOM.","archived":false,"fork":false,"pushed_at":"2018-01-05T20:09:49.000Z","size":8,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-08T06:36:50.905Z","etag":null,"topics":["charset","cli","command-line","command-line-tool","converter","go","golang","utf-8"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jw4.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}},"created_at":"2017-12-29T00:52:23.000Z","updated_at":"2024-05-15T02:23:57.000Z","dependencies_parsed_at":"2022-09-17T15:43:00.787Z","dependency_job_id":null,"html_url":"https://github.com/jw4/to8","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jw4%2Fto8","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jw4%2Fto8/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jw4%2Fto8/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jw4%2Fto8/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jw4","download_url":"https://codeload.github.com/jw4/to8/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240702142,"owners_count":19843852,"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":["charset","cli","command-line","command-line-tool","converter","go","golang","utf-8"],"created_at":"2024-11-10T19:42:52.677Z","updated_at":"2025-10-19T10:57:55.982Z","avatar_url":"https://github.com/jw4.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# to8\nconvert files to utf-8\n\n## Install\n\n`go get jw4.us/to8`\n\n## Usage\n\nBy default this utility will process all named file arguments.\n\nIf no names are given, it will find all the regular files in the current directory.\n\nIf the Content-Type is determined to be `text/*` (or if `-force` is specified), a new file will be created with a suffix of `.to8` and the utility will copy the contents of the file to the new file after converting the charset to UTF-8.  After the copy is done (and if `-dry` is not specified), the new file will be copied over the original file, preserving the file mode bits.\n\n\n```\n  Usage of to8:\n    -dir string\n        directory to convert (default \".\")\n    -dry\n        perform dry run only\n    -exclude string\n        comma separated directories to exclude (in recurse only) (default \".git,.hg,.svn\")\n    -force\n        convert all files regardless of content-type\n    -recurse\n        find files recursively\n    -verbose\n        verbose progress logging\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjw4%2Fto8","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjw4%2Fto8","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjw4%2Fto8/lists"}