-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
- Loading branch information
1 parent
ea96952
commit 3e51447
Showing
4 changed files
with
25 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,6 +25,7 @@ | |
"throughs", | ||
"yanki", | ||
"Yankī", | ||
"Yatskov" | ||
"Yatskov", | ||
"Zoé" | ||
] | ||
} |
17 changes: 17 additions & 0 deletions
17
examples/Demo Vault/Features/Normalize unicode like 'Zoé' !== 'Zoé'.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
Normalize unicode like `'Zoé' !== 'Zoé'` | ||
|
||
--- | ||
|
||
Unicode is [normalized](https://www.w3.org/TR/charmod-norm/#unicodeNormalization) to match Anki's representation. | ||
|
||
The two Zoé's look the same, but one is: | ||
|
||
```js | ||
'Zo\u00e9' | ||
``` | ||
|
||
And the other is: | ||
|
||
```js | ||
'Zo\u0065\u0301' | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.