mirror of
https://github.com/gchq/CyberChef.git
synced 2025-05-12 09:11:37 -04:00
Convert LATIN LETTER L WITH STROKE to LATIN L
Because polish letter "ł" is not accented letter but separate character `normalize("NFD")` doesn't work so we need another approach. See also: - https://www.fileformat.info/info/unicode/char/0142/index.htm - https://www.fileformat.info/info/unicode/char/0141/index.htm
This commit is contained in:
parent
ae1b12c120
commit
825dd69100
2 changed files with 14 additions and 1 deletions
|
@ -80,4 +80,15 @@ TestRegister.addTests([
|
|||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
name: "Remove Diacritics: polish letter ł",
|
||||
input: "zażółć gęślą jaźń ZAŻÓŁĆ GĘŚLĄ JAŹŃ",
|
||||
expectedOutput: "zazolc gesla jazn ZAZOLC GESLA JAZN",
|
||||
recipeConfig: [
|
||||
{
|
||||
"op": "Remove Diacritics",
|
||||
"args": []
|
||||
},
|
||||
],
|
||||
},
|
||||
]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue