{"id":20282930,"url":"https://github.com/enough-software/enough_convert","last_synced_at":"2026-02-26T05:56:33.388Z","repository":{"id":38204939,"uuid":"319981882","full_name":"Enough-Software/enough_convert","owner":"Enough-Software","description":"Support for ISO 8859 / Latin and Windows character encodings missing from `dart:convert`.","archived":false,"fork":false,"pushed_at":"2023-05-23T10:27:52.000Z","size":690,"stargazers_count":9,"open_issues_count":7,"forks_count":8,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-03-25T05:51:18.414Z","etag":null,"topics":["character","character-encodings","charset","dart","decoder","encoder","encoding","flutter"],"latest_commit_sha":null,"homepage":"","language":"Dart","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Enough-Software.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2020-12-09T14:29:00.000Z","updated_at":"2024-08-21T06:39:54.000Z","dependencies_parsed_at":"2022-08-19T17:30:32.573Z","dependency_job_id":null,"html_url":"https://github.com/Enough-Software/enough_convert","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Enough-Software%2Fenough_convert","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Enough-Software%2Fenough_convert/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Enough-Software%2Fenough_convert/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Enough-Software%2Fenough_convert/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Enough-Software","download_url":"https://codeload.github.com/Enough-Software/enough_convert/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248360885,"owners_count":21090779,"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":["character","character-encodings","charset","dart","decoder","encoder","encoding","flutter"],"created_at":"2024-11-14T14:12:37.388Z","updated_at":"2026-02-26T05:56:33.311Z","avatar_url":"https://github.com/Enough-Software.png","language":"Dart","funding_links":[],"categories":[],"sub_categories":[],"readme":"Support for character encodings / charsets / codecs missing from `dart:convert`.\n\nSupports the following encodings:\n* Latin / ISO 8859 encodings:\n  * Latin 1 / ISO 8859-1\n  * Latin 2 / ISO 8859-2\n  * Latin 3 / ISO 8859-3\n  * Latin 4 / ISO 8859-4\n  * Latin 5 / ISO 8859-5\n  * Latin 6 / ISO 8859-6\n  * Latin 7 / ISO 8859-7\n  * Latin 8 / ISO 8859-8\n  * Latin 9 / ISO 8859-9\n  * Latin 10 / ISO 8859-10\n  * Latin 11 / ISO 8859-11\n  * Latin 13 / ISO 8859-13\n  * Latin 14 / ISO 8859-14\n  * Latin 15 / ISO 8859-15\n  * Latin 16 / ISO 8859-16\n* Windows Codepage Encodings:\n  * Windows-1250 / cp-1250\n  * Windows-1251 / cp-1251\n  * Windows-1252 / cp-1252\n  * Windows-1253 / cp-1253\n  * Windows-1254 / cp-1254\n  * Windows-1256 / cp-1256\n* DOS Codepage Encodings:\n  * cp-850\n* GBK (compatible with GB-2312)\n* KOI8\n  * KOI8-R\n  * KOI8-U\n* Big5\n\n## Usage\n\nUsing `enough_convert` is pretty straight forward:\n\n```dart\nimport 'package:enough_convert/enough_convert.dart';\n\nmain() {\n  final codec = const Windows1252Codec(allowInvalid: false);\n  final input = 'Il faut être bête quand même.';\n  final encoded = codec.encode(input);\n  final decoded = codec.decode([...encoded]);\n  print('${codec.name}: encode \"$input\" to \"$encoded\"');\n  print('${codec.name}: decode $encoded to \"$decoded\"');\n\n}\n```\n\n## Installation\nAdd this dependency your pubspec.yaml file:\n\n```\ndependencies:\n  enough_convert: ^1.6.0\n```\nThe latest version or `enough_convert` is [![enough_convert version](https://img.shields.io/pub/v/enough_convert.svg)](https://pub.dartlang.org/packages/enough_convert).\n\n\n## Wait, what is this about?\n\nDylan (not associated with this project in any way) explains the world of text encoding quite well:\n[![Plain text? Really?](https://img.youtube.com/vi/_mZBa3sqTrI/0.jpg)](https://www.youtube.com/watch?v=_mZBa3sqTrI)\n\n\n## It's 2022, do we still need this?\n\nShort answer: yes.\n\nLong answer: yes, there are still many web pages, emails and other content out there that is encoded in various text encodings.\n\n## Features and bugs\n\nPlease file feature requests and bugs at the [issue tracker][tracker].\n\n[tracker]: https://github.com/Enough-Software/enough_convert/issues\n\n## Null-Safety\nenough_convert is null-safe from v1.0.0 onward.\n\n## License\n`enough_convert` is licensed under the commercial friendly [Mozilla Public License 2.0](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fenough-software%2Fenough_convert","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fenough-software%2Fenough_convert","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fenough-software%2Fenough_convert/lists"}