When I import a text file to PowerPivot containing apostrophes, they are automatically converted to ’.

I've been manually correcting the few that I find in the PowerPivot window, however when I do this in a column header it causes problems refreshing the data.

A quick Google tells me that ’ often appears in place of apostrophes when there is a text encoding mismatch. It seems that I need to make sure PowerPivot is reading the data as UTF-8.

How can I do this in PowerPivot? I've tried searching online with no luck.

up vote 3 down vote accepted

It seems that the default encoding PowerPivot applies to incoming data is ANSI.

This means you need to specify UTF-8 as the character encoding each time you import a new file, or you can edit an Existing Connection by clicking the Edit button from here:

enter image description here

Click the Advanced button from the Table Import Wizard. You can set the encoding here.

enter image description here

Your Answer

 

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.