{"id":21366129,"url":"https://github.com/tonytonyjan/rfc_2047","last_synced_at":"2025-07-13T04:32:34.161Z","repository":{"id":56885442,"uuid":"305140177","full_name":"tonytonyjan/rfc_2047","owner":"tonytonyjan","description":"A Ruby implementation of RFC 2047","archived":false,"fork":false,"pushed_at":"2020-10-18T16:38:17.000Z","size":7,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-11-11T13:08:59.597Z","etag":null,"topics":["rfc2047","ruby"],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tonytonyjan.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-10-18T16:00:45.000Z","updated_at":"2024-03-21T02:26:23.000Z","dependencies_parsed_at":"2022-08-20T14:31:16.941Z","dependency_job_id":null,"html_url":"https://github.com/tonytonyjan/rfc_2047","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/tonytonyjan%2Frfc_2047","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tonytonyjan%2Frfc_2047/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tonytonyjan%2Frfc_2047/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tonytonyjan%2Frfc_2047/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tonytonyjan","download_url":"https://codeload.github.com/tonytonyjan/rfc_2047/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225855942,"owners_count":17534967,"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":["rfc2047","ruby"],"created_at":"2024-11-22T07:13:52.803Z","updated_at":"2024-11-22T07:13:53.557Z","avatar_url":"https://github.com/tonytonyjan.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# rfc_2047\n\nIt is a Ruby implementation of [RFC 2047][rfc 2047], which is more accurate and fault-tolerant than [ConradIrwin/rfc2047-ruby](https://github.com/ConradIrwin/rfc2047-ruby). The former can encode, decode, and handle charset correctly, while the latter only implement decoding function.\n\n## Installation\n\n```\ngem install new_rfc_2047\n```\n\n## Usage\n\n```ruby\nRfc2047.encode('己所不欲，勿施於人。')\n# =\u003e \"=?UTF-8?B?5bex5omA5LiN5qyy77yM5Yu/5pa95pa85Lq644CC?=\"\nRfc2047.decode '=?UTF-8?B?5bex5omA5LiN5qyy77yM5Yu/5pa95pa85Lq644CC?='\n# =\u003e \"己所不欲，勿施於人。\"\n```\n\n[rfc 2047]: https://www.ietf.org/rfc/rfc2047.txt\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftonytonyjan%2Frfc_2047","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftonytonyjan%2Frfc_2047","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftonytonyjan%2Frfc_2047/lists"}