sinhala_unicode_converter

Last updated:

0 purchases

sinhala_unicode_converter Image
sinhala_unicode_converter Images
Add to Cart

Description:

sinhala unicode converter

Sinhala Unicode Converter #
This package provides a simple API for converting Sinhala text between different encodings. The SinhalaUnicode class exposes methods like singlishToUnicode() for performing the conversions.
Installation #
To use this package, add sinhala_unicode_converter as a dependency in your pubspec.yaml file:
dependencies:
sinhala_unicode_converter: ^1.0.6
copied to clipboard
Usage #
import 'package:sinhala_unicode_converter/sinhala_unicode_converter.dart';

void main() {
// Input text in Sinhala
String inputText = "සිංහල";

// Convert the input text
String convertedText = SinhalaUnicode.singlishToUnicode(inputText);

// Print the converted text for debugging
print("Converted Text: $convertedText");
}
copied to clipboard
Features #
Convert Sinhala text to Unicode.
Additional features can be added in future updates.
Example #
import 'package:sinhala_unicode_converter/sinhala_unicode_converter.dart';

void main() {
// Input text in Sinhala
String inputText = "අම්මා";

// Convert the input text to Unicode
String convertedText = SinhalaUnicode.singlishToUnicode(inputText);

// Print the converted text
print("Converted Text: $convertedText"); // Output: wïud
}
copied to clipboard

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.