-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
Hi Tony,
I think i might have found a small issue in
| $fieldConfig, substr($line, $i, $fieldConfig['size']) |
In Germany and other countries there are special characters like ä, ö, ü, ß and so on. If the underlying file has these encoded in unicode
substr in PHP does not handle these characters very nicely, as the character bytewise is cut in half leaving garbage. PHP has mb_substr(...) to handle this character in the correct manner.
I replaced that in a local copy and i can confirm that it works as expected.
$fieldConfig, mb_substr($line, $i, $fieldConfig['size'])
Regards,
Bernhard
Metadata
Metadata
Assignees
Labels
No labels