@@ -37,7 +37,7 @@ $(LI $(RELATIVE_LINK2 improve_posix_imports,Improve POSIX imports))
37
37
38
38
$(BUGSTITLE_TEXT_HEADER Library changes,
39
39
40
- $(LI $(RELATIVE_LINK2 add_isValidCharacter,New function `isValidCharacter ` in `std.utf`))
40
+ $(LI $(RELATIVE_LINK2 add_isValidCharacter,New function `isValidCodepoint ` in `std.utf`))
41
41
42
42
)
43
43
@@ -1067,19 +1067,19 @@ The `O_CLOEXEC` symbol was added to `core/sys/posix/fcntl.d`.
1067
1067
1068
1068
$(BUGSTITLE_TEXT_BODY Library changes,
1069
1069
1070
- $(LI $(LNAME2 add_isValidCharacter,New function `isValidCharacter ` in `std.utf`)
1070
+ $(LI $(LNAME2 add_isValidCharacter,New function `isValidCodepoint ` in `std.utf`)
1071
1071
$(CHANGELOG_SOURCE_FILE phobos, changelog/add_isValidCharacter.dd)
1072
1072
$(P
1073
- A new function `isValidCharacter ` has been added to `std.utf`. It can
1073
+ A new function `isValidCodepoint ` has been added to `std.utf`. It can
1074
1074
be used to check if a single character forms a valid code point. For
1075
1075
example the `char` `0x80` is not a valid code point, because it can
1076
1076
only be used in trailing characters of UTF8 sequences, whereas the
1077
1077
wchar `ä` is a valid character:
1078
1078
)
1079
1079
1080
1080
```
1081
- assert(!isValidCharacter (cast(char) 0x80));
1082
- assert(isValidCharacter ('ä'));
1081
+ assert(!isValidCodepoint (cast(char) 0x80));
1082
+ assert(isValidCodepoint ('ä'));
1083
1083
```
1084
1084
)
1085
1085
0 commit comments