> In that example i try to insert a "*" with rtf-encoding. It's not the "*" causing the error, it's the "\0"--which I'm pretty sure is not a valid character for an RTF file either. Do you have an encoder which is just blindly reading through the null terminator of a C string and including it in the encoded string. -- Scott Ribe scott_ribe@xxxxxxxxxxxxxxx http://www.killerbytes.com/ (303) 722-0567 voice -- Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general