diacritic
0.1.6Removes common accents and diacritical signs from a string by replacing them with an equivalent character.
Readme
Dart diacritic library
Removes common accents and diacritical signs from a string by replacing them with an equivalent character.
Usage
A simple usage example:
import 'package:diacritic/diacritic.dart';
main() {
// prints 'arvizturo tukorfurogep'
print(removeDiacritics('árvíztűrő tükörfúrógép'));
}
Links
- source code
- contributors: Agilord
Changelog
0.1.6
- Updated lints.
0.1.5
- Fix: removed lookalike mapping
\u043B->n.
0.1.4
- Migrated to Dart 3.
0.1.3
- Migrated to null-safety (#5 by joaovvrodrigues).
0.1.1
- Remove Unicode Combining Diacritical Marks.
0.1.0
- Dart 2
0.0.2
- Updated for Dart 2
Installing
export PUB_HOSTED_URL=https://pub.mirror.p-hatan.ir
flutter pub add diacriticpubspec.yaml
name: diacritic
description: >
Removes common accents and diacritical signs from a
string by replacing them with an equivalent character.
version: 0.1.6
homepage: https://github.com/agilord/diacritic
topics:
- accents
- diacritical-signs
- characters
- text
environment:
sdk: '^3.0.0'
dev_dependencies:
lints: ^4.0.0
test: ^1.16.5
Version history
| Version | Published | Archive | SHA-256 |
|---|---|---|---|
| 0.0.1 | On demand | Download | 0dbf2d2e…4e6870 |
| 0.0.2 | On demand | Download | 50488823…aa28dd |
| 0.1.0 | On demand | Download | 889a834f…246f72 |
| 0.1.1 | On demand | Download | d8286d03…4aeb99 |
| 0.1.3 | On demand | Download | c09a420e…da3075 |
| 0.1.4 | On demand | Download | a84e03ec…abe706 |
| 0.1.5 | On demand | Download | 96db5db6…807fe4 |
| 0.1.6 | Cached · Upstream SHA-256 matched | Download | 12981945…147876 |
Dependencies
No direct dependencies declared.