> One could write a user defined function, say "valid_utf8", that verifies a field is truly UTF-8 and use it in check constraints The sequence C0 80 is perfectly valid UTF-8 encoding. That you may not like that fact is immaterial.
> One could write a user defined function, say "valid_utf8", that verifies a field is truly UTF-8 and use it in check constraints The sequence C0 80 is perfectly valid UTF-8 encoding. That you may not like that fact is immaterial.