Fixed inconsistency in string handling in the Task C implementation (GH-8717)

1 file changed