password-generator
password-generator copied to clipboard
Incompatible with multibyte characters
I tried adding german umlauts (äüö) as valid lower case letters by setting the parameter PARAMETER_LOWER_CASE
$passwordGenerator->setParameter(ComputerPasswordGenerator::PARAMETER_LOWER_CASE, 'abcdefghijklmnopqrstuvwxyzöäüß')
Unfortunately this leads to generated passwords containing invalid utf8 characters. I believe the reason is that the library is using the "normal" string functions of PHP.
Is there any plan of upgrading to the multibyte string functions?