Closed Crutchmaster closed 2 years ago
I do not understand the request.
private function fixHumanName($human_name = '')
{
// Remove special characters (remove the below line to support non latin characters)
$human_name = preg_replace('/[^A-Za-z0-9_\s-]/', '', $human_name);
...
$humanname accept only A-Za-z0-9\s-. All other utf chars will be cut. If I want not latin chars, I must edit code or edit human_name field in metadata_type table. It might be worth making a caption field?
https://github.com/creecros/MetaMagik/issues/61
you are welcome to make a pull request
Name is latin only. How about caption with custom utf string?