Skip to content

Commit 768a5ab

Browse files
committed
Fix a broken latin character in char2nr()
1 parent ccca1f7 commit 768a5ab

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

en/eval.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3045,8 +3045,8 @@ char2nr({expr}[, {utf8}]) *char2nr()*
30453045
char2nr("ABC") returns 65
30463046
< When {utf8} is omitted or zero, the current 'encoding' is used.
30473047
Example for "utf-8": >
3048-
char2nr("á") returns 225
3049-
char2nr("á"[0]) returns 195
3048+
char2nr("á") returns 225
3049+
char2nr("á"[0]) returns 195
30503050
< With {utf8} set to 1, always treat as utf-8 characters.
30513051
A combining character is a separate character.
30523052
|nr2char()| does the opposite.

0 commit comments

Comments
 (0)