WINDOWS-1251, WINDOWS-1252
Parameters
s | the string to be tested |
bool isValid(E)(const(E)[] s)Returns true if the string is encoded correctly
Supersedes: This function supersedes std.utf.validate(), however note that this function returns a bool indicating whether the input was valid or not, whereas the older function would throw an exception.
WINDOWS-1251, WINDOWS-1252
s | the string to be tested |