I have a DACPAC file that was built into Visual Studio 2013 for an SSDT project. This SSDT project defines a post-deployment script designed to combine some static data into published tables, and one piece of data contains a copyright symbol.
Now when I publish the database through Visual Studio, the copyright symbol is saved and correctly merged into the target table. When I publish the same database (with the same dumppack and publish the profile) using MSDeploy, the copyright symbol is combined into the target database as "?" symbol. Similarly, when I use Action:Script instead of Action:Publish , the generated SQL script contains "?" not a copyright symbol.
The Visual Studio script seems to be generating UTF8 encoding, but the script that is baked into dacpac loses the UTF8 encoding. Does anyone have any ideas on how to get around this problem?
source share