https://github.com/ykmnkmi/windows1251.dart
Cyrillic windows-1251 (cp1251) encoding implementation for Dart.
https://github.com/ykmnkmi/windows1251.dart
cp-1251 cyrillic dart encoding windows-1251
Last synced: 21 days ago
JSON representation
Cyrillic windows-1251 (cp1251) encoding implementation for Dart.
- Host: GitHub
- URL: https://github.com/ykmnkmi/windows1251.dart
- Owner: ykmnkmi
- License: mit
- Created: 2021-08-10T19:25:44.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2023-06-11T08:41:22.000Z (almost 2 years ago)
- Last Synced: 2023-08-20T23:30:41.551Z (almost 2 years ago)
- Topics: cp-1251, cyrillic, dart, encoding, windows-1251
- Language: Dart
- Homepage: https://pub.dev/packages/windows1251
- Size: 21.5 KB
- Stars: 6
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# windows-1251
[![Pub Package][pub_icon]][pub]
[![Test Status][test_ci_icon]][test_ci]
[![CodeCov][codecov_icon]][codecov]Cyrillic `windows-1251` (`cp1251`) encoding implementation for Dart.
## Usage
```dart
import 'package:windows1251/windows1251.dart';void main() {
// >>> 'Привет!'
print(windows1251.decode([207, 240, 232, 226, 229, 242, 33]));
// >>> [207, 240, 232, 226, 229, 242, 33]
print(windows1251.encode('Привет!'));
}
```## License
This project is licensed under the MIT license.
## Features and bugs
Please file feature requests and bugs at the [issue tracker][tracker].
[new_issue]: https://github.com/ykmnkmi/windows1251.dart/issues/new
[pub_icon]: https://img.shields.io/pub/v/windows1251.svg
[pub]: https://pub.dev/packages/windows1251
[test_ci_icon]: https://github.com/ykmnkmi/windows1251.dart/actions/workflows/test.yaml/badge.svg
[test_ci]: https://github.com/ykmnkmi/windows1251.dart/actions/workflows/test.yaml
[codecov_icon]: https://codecov.io/gh/ykmnkmi/windows1251.dart/branch/main/graph/badge.svg?token=LSU9C5W147
[codecov]: https://codecov.io/gh/ykmnkmi/windows1251.dart
[tracker]: https://github.com/ykmnkmi/windows1251.dart/issues