def _DecodeValue(pb_value, val_type):
 if (val_type in _STRING_TYPES):
  return _DecodeUTF8(pb_value)
 return pb_value

def _DecodeValue ( pb_value , val_type ) : if ( val_type in _STRING_TYPES ) : return _DecodeUTF8 ( pb_value ) return pb_value
decodes a possible utf-8 encoded string value to unicode .