Encoding in SQL to CSV

Posted by Z77 on Stack Overflow See other posts from Stack Overflow or by Z77
Published on 2010-06-14T12:48:22Z Indexed on 2010/06/14 12:52 UTC
Read the original article Hit count: 169

Filed under:

When do I execute query COPY TO ... CSV, I create CSV file. BUt when open it column with names in excel that should be with national characters are not as it should be. So my question is, If it is possible within a sql query to change this encoding to utf8? Or something else? Because I want that new created CSV file to be as final product for user on web. I hope someone understood what I want:)

© Stack Overflow or respective owner

Related posts about postgresql