jacobwilliams / csv-fortran

Read and Write CSV Files Using Modern Fortran
Other
99 stars 44 forks source link

Support unicode #29

Open tfoxrutherford opened 1 year ago

tfoxrutherford commented 1 year ago

Hi: I'm just having a look at this package, and when I run your test program on a "real" data file, I immediately run into problems with unicode characters (I believe this is the problem). Perhaps someone familiar with the code could have a try reading this file: https://www.ers.usda.gov/data-products/farm-income-and-wealth-statistics.aspx Cheers, Tom

jacobwilliams commented 1 year ago

What are the problems you see?

The library does use default character variables, so it's not really accounting for unicode. I think it would have to be updated so that the character kind is user-specified (not all Fortran compilers currently support unicode).