{"id":17872562,"url":"https://github.com/gregors/bad_encoding","last_synced_at":"2025-07-23T18:33:04.846Z","repository":{"id":59150932,"uuid":"102149371","full_name":"gregors/bad_encoding","owner":"gregors","description":"Find bad encoding characters in large strings","archived":false,"fork":false,"pushed_at":"2020-07-18T04:16:59.000Z","size":9,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-12T20:04:23.430Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Ruby","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/gregors.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-09-01T20:10:21.000Z","updated_at":"2020-07-18T04:16:58.000Z","dependencies_parsed_at":"2022-09-13T11:00:38.790Z","dependency_job_id":null,"html_url":"https://github.com/gregors/bad_encoding","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gregors%2Fbad_encoding","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gregors%2Fbad_encoding/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gregors%2Fbad_encoding/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gregors%2Fbad_encoding/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gregors","download_url":"https://codeload.github.com/gregors/bad_encoding/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246909111,"owners_count":20853361,"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":[],"created_at":"2024-10-28T10:43:24.879Z","updated_at":"2025-04-02T23:28:19.762Z","avatar_url":"https://github.com/gregors.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Bad Encoding\n\nI was having trouble finding bad characters in large strings so I did this manually for like 20 mins. Forget that! Never again!\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n```ruby\ngem 'bad_encoding'\n```\n\nAnd then execute:\n\n    $ bundle\n\nOr install it yourself as:\n\n    $ gem install bad_encoding\n\n## Usage\n    require 'bad_encoding'\n\n    \u003e good_string.show_bad_encoding\n     =\u003e \"no bad segments founds\"\n   \n    \u003e bad_string.show_bad_encoding\n      =\u003e \"r. \\xED\\xA0\\xBD\\xED\\xB9\\x82 )\u003c/p\u003e\\n\u003c/div\u003e\\n        \u003c/div\u003e\\n\\n    \u003c/li\u003e\u003c!-- #comment-## --\u003e\\n    \u003cl\" \n\n## Development\n\nAfter checking out the repo, run `bin/setup` to install dependencies. Then, run `rake test` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.\n\nTo install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).\n\n## Contributing\n\nBug reports and pull requests are welcome on GitHub at https://github.com/gregors/bad_encoding.\n\n\n## License\n\nThe gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgregors%2Fbad_encoding","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgregors%2Fbad_encoding","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgregors%2Fbad_encoding/lists"}