Open omermyaari opened 3 years ago
Did you try to upload it to masav? They use a special "old Hebrew" (EBCDIC) encoding. I tried it and only with this encoding masav recognises it. More info
If you got a problem uploading it to Masav, can you send the error code from Masav?
I tried to upload the file to bank leumi. it showed me english characters instead of hebrew characters. I wrote my own implementation for masav file generation, and I managed to encode the hebrew characters successfully using iconv-lite library, with 'cp862' encoding. The hebrew characters also had to be reversed but I guess this has nothing to do with the encoding.
Yes, I reverted the characters. I tested my package on Masav's program/website and there it shows the Hebrew correct only with that specific encoding. This is a very problematic encoding, because it is not really possible to enter English in the field. (The uppercase ASCII code are used for Hebrew)
I didn't know that you can upload Masav files through bank leumi. If there they use a different encoding, I can implement it as an option in the package
It looks like 'cp862' encoding, is what they call קוד עברי ב. I tried it, and as far as I remember Masav rejected the file for invalid characters
Hello, I tried to enter payee name in hebrew, but I got something else in the generated file, it seems like the characters are not being encoded well.