diacritic

0.1.6

Removes common accents and diacritical signs from a string by replacing them with an equivalent character.

Download archive

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

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

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 diacritic
pubspec.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

VersionPublishedArchiveSHA-256
0.0.1On demandDownload0dbf2d2e…4e6870
0.0.2On demandDownload50488823…aa28dd
0.1.0On demandDownload889a834f…246f72
0.1.1On demandDownloadd8286d03…4aeb99
0.1.3On demandDownloadc09a420e…da3075
0.1.4On demandDownloada84e03ec…abe706
0.1.5On demandDownload96db5db6…807fe4
0.1.6Cached · Upstream SHA-256 matchedDownload12981945…147876

Dependencies

No direct dependencies declared.