Project.sqlgen: Encoding UTF-8 changes to UTF-16 when use "Save as..."?

DF_BDF_B New memberPosts: 3 New member
edited April 24, 2018 9:58AM in SQL Data Generator
On Windows-Server 2016: Saving an existing project file (UTF-8) with  "Save as .." the new file encoding is UTF-16 and has twice the size of the original. 
Tagged:

Answers

  • Rob CRob C Gold 2 Posts: 418 Gold 2
    Hi,

    SQL Data Generator has been encoding the project file in Unicode for some time. Is this project file one that you created using SQL Data Generator? Did you manually convert it to UTF-8 or did SQL Data Generator encode it that way initially?

    If you created a UTF-8 encoded file with SQL Data Generator, can you tell me the version that you were using?

    A 16 bit encoded file will be twice as big as an 8 bit encoded file because each character takes up twice the number of bits.
    Software Engineer
    Redgate Software
  • DF_BDF_B New member Posts: 3 New member
    Hi Rob, so basically Data Generator never saves a project file in UTF-8. Then we probalby made a mistake when changing the projectfile. Regards
  • Rob CRob C Gold 2 Posts: 418 Gold 2
    Yes, as far as I'm aware Data Generator has never saved a project file in UTF-8.
    Software Engineer
    Redgate Software
Sign In or Register to comment.