Skip to content
This repository has been archived by the owner on Jan 30, 2020. It is now read-only.

ListParse not work with cyrillic #243

Open
dimaxz opened this issue Oct 2, 2019 · 6 comments
Open

ListParse not work with cyrillic #243

dimaxz opened this issue Oct 2, 2019 · 6 comments

Comments

@dimaxz
Copy link

dimaxz commented Oct 2, 2019

dump(
    ListParser::parse(' value="price 1.xlsx"; attribute=""', [';', '=']),
    ListParser::parse(' value="Прайс 2.xlsx"; attribute=""', [';', '='])
);

array:4 [
  0 => " value"
  1 => ""price 1.xlsx""
  2 => " attribute"
  3 => """"
]
array:3 [
  0 => " value"
  1 => ""Прайс 2.xlsx""
  2 => " attribu"
]
@dimaxz
Copy link
Author

dimaxz commented Oct 2, 2019

may be

        for ($i = 0; $i < $length; $i += 1) {
            //$char = $value[$i];
            $char = substr($value,$i,1);

@michalbundyra
Copy link
Member

@dimaxz I've tested it on mine and also some server and it works fine in both cases. Looks like it is system dependant issue.

@dimaxz
Copy link
Author

dimaxz commented Oct 8, 2019

Can I send you an email with an attachment so you can read it?

@michalbundyra
Copy link
Member

@dimaxz ping me on zf slack, please

@dimaxz
Copy link
Author

dimaxz commented Oct 8, 2019

Failed! invite_limit_reached

@weierophinney
Copy link
Member

This repository has been closed and moved to laminas/laminas-mail; a new issue has been opened at laminas/laminas-mail#8.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants