﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
25638	update using Concat with Value causes error-encoding in SQLite	Bear	nobody	"Suppose we want to concat a string to the end of a Charfield.
If we use:
{{{
  Model.objects.update(field=Concat('field', Value(""end"")))`
}}}
it will commit successfully, but the field will inlcude error-encoding text in SQLite. If we select the field from db, db will say ""OperationalError: Could not decode to UTF-8 column 'name' with text"".

Instead,
{{{
  Model.objects.update(field=Concat('field', Value(""end""), None))
}}}
it will be OK."	Bug	closed	Database layer (models, ORM)	1.8	Normal	needsinfo			Unreviewed	0	0	0	0	0	0
