“CSV Data in Linux Shows ‘???’ in First Element but works fine in windows – How to Resolve?”
I’m executing my code in GitHub Actions (Linux environment) and trying to retrieve data from a CSV file. However, the first element of the CSV file is showing as ‘???”‘. Interestingly, the same CSV file works fine on Windows after handling the BOM (Byte Order Mark). Here is the Code snippet that I am using to retrieve data from csv file