Skip to content

Commit f67937b

Browse files
committed
added readme
1 parent 7da49cc commit f67937b

File tree

2 files changed

+27
-0
lines changed

2 files changed

+27
-0
lines changed

Unidecode.NET.sln

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ EndProject
88
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{C9018F64-4917-4F4F-8F78-3A674896029D}"
99
ProjectSection(SolutionItems) = preProject
1010
global.json = global.json
11+
readme.md = readme.md
1112
EndProjectSection
1213
EndProject
1314
Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Unidecode.NET", "src\Unidecode.NET\Unidecode.NET.xproj", "{A1A9B022-442C-4782-AF37-F8E58E5740A3}"

readme.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
2+
Moving https://bitbucket.org/DimaStefantsov/unidecodesharpfork project to GitHub (Dima no longer works with .NET).
3+
Also the goal is to port it to .net core
4+
5+
# Overview
6+
7+
**Unidecode.NET** is .NET library dll, written in C#.
8+
It provides string or char extension method Unidecode() that returns transliterated string. It supports huge amount of languages.
9+
And it's very easy to add your language if it's not supported already!
10+
11+
#Example code
12+
13+
Take a look at the list of assertions:
14+
```cs
15+
Assert.AreEqual("Bei Jing ", "\u5317\u4EB0".Unidecode());
16+
Assert.AreEqual("Rabota s kirillitsey", "Работа с кириллицей".Unidecode());
17+
Assert.AreEqual("aouoAOUO", "äöűőÄÖŨŐ".Unidecode());
18+
Assert.AreEqual("Hello, World!", "Hello, World!".Unidecode());
19+
Assert.AreEqual("'\"\r\n", "'\"\r\n".Unidecode());
20+
Assert.AreEqual("CZSczs", "ČŽŠčžš".Unidecode());
21+
Assert.AreEqual("a", "".Unidecode());
22+
Assert.AreEqual("a", "α".Unidecode());
23+
Assert.AreEqual("a", "а".Unidecode());
24+
Assert.AreEqual("chateau", "ch\u00e2teau".Unidecode());
25+
Assert.AreEqual("vinedos", "vi\u00f1edos".Unidecode());
26+
```

0 commit comments

Comments
 (0)