Called when a parameter value is changed in a lossy way, due to it
containing invalid characters. If a character can be escaped (such as
the "^" character when caret encoding is enabled), then this does not
count as the parameter being modified because it can be decoded
without losing any information.
propertyName - the name of the property to which the parameter