enough_convert
`dart:convert` में अक्षर संकेतन / चार्सेट / कोडेक का समर्थन नहीं है - ISO 8859 / लैटिन, विंडोज, DOS, GBK, Big5, और KOI8 R/U।
`dart:convert` में ISO 8859 / Latin और Windows अक्षर संकलन के लिए समर्थन की कमी है।
यह अंग्रेज़ी मूल स्नैपशॉट है। नवीनतम सामग्री GitHub पर देखें।
Support for character encodings / charsets / codecs missing from dart:convert.
Supports the following encodings:
Using enough_convert is pretty straight forward:
import 'package:enough_convert/enough_convert.dart';
main() {
final codec = const Windows1252Codec(allowInvalid: false);
final input = 'Il faut être bête quand même.';
final encoded = codec.encode(input);
final decoded = codec.decode([...encoded]);
print('${codec.name}: encode "$input" to "$encoded"');
print('${codec.name}: decode $encoded to "$decoded"');
}
Add this dependency your pubspec.yaml file:
dependencies:
enough_convert: ^1.6.0
The latest version or enough_convert is .
Dylan (not associated with this project in any way) explains the world of text encoding quite well:
Short answer: yes.
Long answer: yes, there are still many web pages, emails and other content out there that is encoded in various text encodings.
Please file feature requests and bugs at the issue tracker.
enough_convert is null-safe from v1.0.0 onward.
enough_convert is licensed under the commercial friendly Mozilla Public License 2.0
उपयोग के अनुसार छाँटें, गतिविधि की तुलना करें और अपनाने से पहले मूल प्रोजेक्ट की आवश्यकताएँ जाँचें।
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗