Skip to main content
1-Visitor
Jan 29, 2015 4:54 PM UTC
Question

merge question

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 ?

    4 replies

    16-Pearl
    Jan 30, 2015 10:13 PM UTC

    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.

    Translate
    16-Pearl
    Jan 30, 2015 10:25 PM UTC

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

    Translate
    hmagnanao1-VisitorAuthor
    1-Visitor
    Feb 3, 2015 4:21 PM UTC

    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 ?

    Translate