password-generator icon indicating copy to clipboard operation
password-generator copied to clipboard

Incompatible with multibyte characters

Open floriankick opened this issue 6 months ago • 4 comments

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?

floriankick avatar Aug 21 '24 15:08 floriankick