Request you advise : isValidFilename

FeepingCreature feepingcreature at gmail.com
Fri Sep 22 17:52:51 UTC 2023


On Friday, 22 September 2023 at 17:44:50 UTC, Vino wrote:
> Hi All,
>
>   Request you help in understanding why the below code is 
> always returning true when it should return false as per the 
> documentation.
>
> Documentation
> ```
> filename must not contain any characters whose integer 
> representation is in the range 0-31.
> ```

"Integer representation" here refers to the ANSI index or Unicode 
codepoint, ie. the filename must not contain `\x00` to `\x31`.


More information about the Digitalmars-d-learn mailing list