All requests | > | Detect file encoding and convet it to... | > | Request new recommendation | > | Featured requests | > | No recommendations |
by Ashok - 10 days ago (2019-01-23)
0 | I am working on a project where I need to upload csv to databse, but here the problem is the file is encoded in the unknown format, so I am unable to upload the file to the database. I tried many ways like mb_detect_encoding and tried to convert into UTF-8. but not succeed. Can anyone try to help me to solve this problem? |
2. by Ray Paseur - Yesterday (2019-01-31) Reply
This class (#11059) has not been approved yet, but it should help you.
https://www.phpclasses.org/package/11059-PHP-Validate-strings-in-UTF-8-encoding.html
1. by Ray Paseur - 4 days ago (2019-01-28) Reply
Hi, Ashok. I can help with this. Please give me a test file, or better yet a link to a set of test files. UTF-8 is self-evident, and BOM is easy to remove. I wrote an article about this a few years ago.
My email is Ray.Paseur [at] Gmail if you want to send me a link to the test data. If you send me an email, I will send you links to my articles and presentation deck. Best regards, Ray
0 | by Ray Paseur 50 - Yesterday (2019-01-31) Comment See if this helps. If you use this class and have any difficulty with it, please reach out to me. Best of luck, Ray |
Recommend package | |
|