SQLiteDataReader.GetName() with UseUTF16Encoding option fails on Linux
(1) By Alfonso Catanzaro (acatanzaro) on 2021-10-14 09:03:52 [source]
Hi, I have a problem with SQLiteDataReader.GetName(index) method that returns the field name at the index passed by argument. I use this nuget package: https://www.nuget.org/packages/System.Data.SQLite.Core/1.0.115
The problem is that the method executed in linux (I've tested on Ubuntu 20.04) or in a docker container (linux based) return a not well terminated string. (something like 'FieldName0&%°*çç0')
I wrote a sample c# netcore3.1 project that reproduce then bug as well: https://github.com/alfonsocatanzaro/SQLite_UTF16Encoding.
Can you take a look at it?
I will wait for your feedback.