I'm developing an API with .NET Core 3.0 and Entity Framework 6.4.0, as a database I'm using Mysql.
I'm having trouble making a query that returns strings that contain special characters.
Database:
API returns:
Below follows the method that performs the query. I just pass a where clause and get a list of objects:
public virtual async Task<List<TEntity>> Get(Expression<Func<TEntity, bool>> where,
bool asNoTracking = true,
int take = TAKE)
{
if (asNoTracking)
return await DbSet.AsNoTracking()
.Where(where)
.Take(take)
.ToListAsync()
.ConfigureAwait(false);
return await DbSet.Where(where)
.Take(take)
.ToListAsync()
.ConfigureAwait(false);
}
In debugging I identified that as soon as the value is read from the database it is already incorrect.
Where's the error?

