Make SetAttributeValue() set the value's CharacterSet.

When SetAttributeValue() is given a string argument, the value that is
created now inherits the SpecificCharacterSet from the data set.