Skip to main content
1-Visitor
January 29, 2015
Question

merge question

  • January 29, 2015
  • 1 reply
  • 1918 views

I have a merge script that automatically merges changes to a target branch. For some reason, when it tries to merge a sql file, it checks it in as UTF-8 format. How do I change my script to automatically save the merged file in ANSI format ?

    1 reply

    16-Pearl
    January 30, 2015

    Hello Hector,

    Is the format of the revision in your sandbox ANSI or UTF-8?

    From the --guiCharacterEncoding=value option for si diff in the Integrity 10.6 CLI Reference for Configuration Management, by default, the character set in the preferences matches the default character set provided by the client's operating system, and the encoding preferences for each view and command can be set in the client. For instance, if you go to the client menu to Client --> Preferences, and then in the Preferences Configuration window's left pane drill down to Configuration Management --> Commands --> Merge, in the right pane you will see a drop-down for Character encoding.

    Let me know if that helps.

    Regards,

    Kael

    Message was edited by Michael Lizak: Corrected typographical errors, formatting, and title. Added a hyperlink to the title.

    16-Pearl
    January 30, 2015

    Also, keep in mind ANSI == Windows-1252.

    hmagnanao1-VisitorAuthor
    1-Visitor
    February 3, 2015

    i looked at the character encoding and it is set to Windows-1252. It looks like it's only happening to one file. Is there a way I encode it in the script just for this particular file ?