Strange character in retrieved data

Discussion of issues, suggestions and bugs of Devart Excel Add-ins, our product line for connecting Excel to external data from cloud applications and databases
Post Reply
JohnP
Posts: 2
Joined: Tue 22 Mar 2016 08:25

Strange character in retrieved data

Post by JohnP » Tue 22 Mar 2016 08:37

I'm using the DevArt Excel addin v 1.5.239.0 to retrieve data from a PostgreSQL database and am getting a strange character which doesn't exist in the database appearing in the Excel spreadsheet.

The text in the database field is (for example) UK Haulage - £2000 whilst the test displayed in the excel spreadsheet is UK Haulage - £2000

There is a space between the - and £ characters in the database

Any ideas what might be causing this and how I can resolve it ?

Update:
After further testing the $ symbol is retrieved correctly but the € is displayed as €

Shalex
Site Admin
Posts: 9543
Joined: Thu 14 Aug 2008 12:44

Re: Strange character in retrieved data

Post by Shalex » Thu 24 Mar 2016 17:08

Please open the Connection Editor for your PostgreSQL connection and set Unicode=True via the Advanced menu. After this, refresh data in your Excel sheet. Does this help? If not, specify the exact data type of database column which stores currency symbols.

JohnP
Posts: 2
Joined: Tue 22 Mar 2016 08:25

Re: Strange character in retrieved data

Post by JohnP » Fri 25 Mar 2016 12:47

Setting Unicode=True has resolved the issue :)

Many thanks.

Shalex
Site Admin
Posts: 9543
Joined: Thu 14 Aug 2008 12:44

Re: Strange character in retrieved data

Post by Shalex » Tue 29 Mar 2016 08:26

Thank you for your feedback.

Post Reply