There is a line '67 469 250 004 '(taken, in general, from the field of the table with which you need to carry out this operation (removal of problems)). This is a text field. Initially, the talitsa itself was utf-8 encoded (if that has any meaning).
None of the commands works, gives the original string.
select '67 469 250 004' , replace('67 469 250 004', ' ', '') , regexp_replace('67 469 250 004', '\\s* ', '', 'g') , trim('67 469 250 004') In regexp_replace I tried different combinations in place of '\ s *' ('\ s', '\ s *', '').
select replace('67 469 250 004', ' ', '');=>67469250004as a result I get it regularly. Are you sure that you have exactly given the query in the question shows the original string? And you didn’t write this query just for the question, but in reality try to convert the table field? - Smallselect encode(originalstring, 'hex')will display the hex representation of the string and byte-by-bye the encoding table will show that you actually have it. - Small