<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>article Qlik Replicate: Replicating special characters from Sysbase ASE to SQL server 2017 in Official Support Articles</title>
    <link>https://community.qlik.com/t5/Official-Support-Articles/Qlik-Replicate-Replicating-special-characters-from-Sysbase-ASE/ta-p/1915507</link>
    <description>&lt;P&gt;During the replication from Sybase ASE 16.x to SQL server 2017, the conversion on the columns that contain special characters is incorrect; i.e.: if the Source has “Denial – no auth” the Target is getting “Denial ? no auth”&lt;/P&gt;
&lt;H4&gt;&lt;STRONG&gt;&lt;FONT color="#339966"&gt;Environment&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/H4&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;SPAN&gt;Qlik replicate 7.0.0.856&lt;BR /&gt;&lt;/SPAN&gt;Source endpoint Sybase ASE version 16&lt;BR /&gt;&lt;SPAN class="test-id__field-label"&gt;Target Endpoint&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="test-id__field-value slds-form-element__static slds-grow word-break-ie11"&gt;SQL Server 2017&lt;/SPAN&gt;&lt;/P&gt;
&lt;H3&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Resolution&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H3&gt;
&lt;P&gt;Use the Character Substitution option to convert the Special Characters with the values supported by the Target location, in this case, the hexadecimal value.&lt;/P&gt;
&lt;H4&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Steps followed to determine the issue:&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H4&gt;
&lt;OL&gt;
&lt;LI&gt;Testing the transformation, STRING to WSTRING
&lt;OL class="lia-list-style-type-lower-alpha"&gt;
&lt;LI&gt;
&lt;P&gt;Search and choose WSTRING&lt;/P&gt;
&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="HOX_4-1649270027967.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/76511i169F2F001F381063/image-size/medium?v=v2&amp;amp;px=400" role="button" title="HOX_4-1649270027967.png" alt="HOX_4-1649270027967.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;Change the WSTRING value from 50 to 500&lt;/P&gt;
&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="HOX_5-1649270046755.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/76512iAB581D4082DD675D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="HOX_5-1649270046755.png" alt="HOX_5-1649270046755.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;Reload the Target and check the SQL SERVER Table&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Note: &lt;/STRONG&gt;The error persists using this option.&lt;/P&gt;
&lt;/LI&gt;
&lt;/OL&gt;
&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;&lt;SPAN&gt;Testing the Character Substitution&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;OL class="lia-list-style-type-lower-alpha"&gt;
&lt;LI&gt;
&lt;P&gt;Generate the varbinary for the column MCTR_DESC for all the records that contain hyphen (-)&lt;/P&gt;
&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="HOX_7-1649270174825.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/76514i52764C1D4AE51DFE/image-size/large?v=v2&amp;amp;px=999" role="button" title="HOX_7-1649270174825.png" alt="HOX_7-1649270174825.png" /&gt;&lt;/span&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;Copy the result to notepad&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Generate the varbinary for the column MCTR_DESC for all the records that contain APOSTROPHE &amp;nbsp;(‘)&lt;/P&gt;
&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="HOX_17-1649271045375.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/76523iE78C2584B70AE66A/image-size/large?v=v2&amp;amp;px=999" role="button" title="HOX_17-1649271045375.png" alt="HOX_17-1649271045375.png" /&gt;&lt;/span&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;Copy the result to&amp;nbsp; notepad&lt;/P&gt;
&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="HOX_10-1649270402840.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/76517i5F880C4E966697B6/image-size/large?v=v2&amp;amp;px=999" role="button" title="HOX_10-1649270402840.png" alt="HOX_10-1649270402840.png" /&gt;&lt;/span&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;Applying character substitution&lt;BR /&gt;&lt;BR /&gt;
&lt;P&gt;Add Source Character 96&amp;amp;92&lt;BR /&gt;Add Substitute Character 2d&amp;amp;27&lt;/P&gt;
&lt;H3&gt;&amp;nbsp;&lt;/H3&gt;
&lt;/LI&gt;
&lt;/OL&gt;
&lt;/LI&gt;
&lt;/OL&gt;
&lt;H4&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;How to identify the correct Source Character and Substitute Character values?&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H4&gt;
&lt;OL&gt;
&lt;LI&gt;&lt;STRONG&gt;&amp;nbsp;For the Source Character:&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="HOX_14-1649270708907.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/76520i48BFD8BFFE66F208/image-size/medium?v=v2&amp;amp;px=400" role="button" title="HOX_14-1649270708907.png" alt="HOX_14-1649270708907.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="HOX_15-1649270729000.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/76521i9A99D1CBFBFD1A51/image-size/medium?v=v2&amp;amp;px=400" role="button" title="HOX_15-1649270729000.png" alt="HOX_15-1649270729000.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG style="font-family: inherit;"&gt;Notes:&lt;BR /&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;
&lt;UL class="lia-list-style-type-circle"&gt;
&lt;LI&gt;&lt;SPAN&gt;As we know in the binary system, a letter, number, space or sign is equivalent to two hexadecimal characters.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;The counting starts after the letter “x”&lt;BR /&gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG style="font-family: inherit;"&gt;For Substitute Character&lt;BR /&gt;&lt;BR /&gt;&lt;/STRONG&gt;Identify the respective hexadecimal value for the special character.&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="HOX_16-1649270809038.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/76522i1EB77A5A134A7FE2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="HOX_16-1649270809038.png" alt="HOX_16-1649270809038.png" /&gt;&lt;/span&gt;&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 14 Sep 2023 07:27:46 GMT</pubDate>
    <dc:creator>HOX</dc:creator>
    <dc:date>2023-09-14T07:27:46Z</dc:date>
    <item>
      <title>Qlik Replicate: Replicating special characters from Sysbase ASE to SQL server 2017</title>
      <link>https://community.qlik.com/t5/Official-Support-Articles/Qlik-Replicate-Replicating-special-characters-from-Sysbase-ASE/ta-p/1915507</link>
      <description>&lt;P&gt;During the replication from Sybase ASE 16.x to SQL server 2017, the conversion on the columns that contain special characters is incorrect; i.e.: if the Source has “Denial – no auth” the Target is getting “Denial ? no auth”&lt;/P&gt;
&lt;H4&gt;&lt;STRONG&gt;&lt;FONT color="#339966"&gt;Environment&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/H4&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;SPAN&gt;Qlik replicate 7.0.0.856&lt;BR /&gt;&lt;/SPAN&gt;Source endpoint Sybase ASE version 16&lt;BR /&gt;&lt;SPAN class="test-id__field-label"&gt;Target Endpoint&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="test-id__field-value slds-form-element__static slds-grow word-break-ie11"&gt;SQL Server 2017&lt;/SPAN&gt;&lt;/P&gt;
&lt;H3&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Resolution&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H3&gt;
&lt;P&gt;Use the Character Substitution option to convert the Special Characters with the values supported by the Target location, in this case, the hexadecimal value.&lt;/P&gt;
&lt;H4&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Steps followed to determine the issue:&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H4&gt;
&lt;OL&gt;
&lt;LI&gt;Testing the transformation, STRING to WSTRING
&lt;OL class="lia-list-style-type-lower-alpha"&gt;
&lt;LI&gt;
&lt;P&gt;Search and choose WSTRING&lt;/P&gt;
&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="HOX_4-1649270027967.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/76511i169F2F001F381063/image-size/medium?v=v2&amp;amp;px=400" role="button" title="HOX_4-1649270027967.png" alt="HOX_4-1649270027967.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;Change the WSTRING value from 50 to 500&lt;/P&gt;
&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="HOX_5-1649270046755.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/76512iAB581D4082DD675D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="HOX_5-1649270046755.png" alt="HOX_5-1649270046755.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;Reload the Target and check the SQL SERVER Table&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Note: &lt;/STRONG&gt;The error persists using this option.&lt;/P&gt;
&lt;/LI&gt;
&lt;/OL&gt;
&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;&lt;SPAN&gt;Testing the Character Substitution&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;OL class="lia-list-style-type-lower-alpha"&gt;
&lt;LI&gt;
&lt;P&gt;Generate the varbinary for the column MCTR_DESC for all the records that contain hyphen (-)&lt;/P&gt;
&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="HOX_7-1649270174825.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/76514i52764C1D4AE51DFE/image-size/large?v=v2&amp;amp;px=999" role="button" title="HOX_7-1649270174825.png" alt="HOX_7-1649270174825.png" /&gt;&lt;/span&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;Copy the result to notepad&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Generate the varbinary for the column MCTR_DESC for all the records that contain APOSTROPHE &amp;nbsp;(‘)&lt;/P&gt;
&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="HOX_17-1649271045375.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/76523iE78C2584B70AE66A/image-size/large?v=v2&amp;amp;px=999" role="button" title="HOX_17-1649271045375.png" alt="HOX_17-1649271045375.png" /&gt;&lt;/span&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;Copy the result to&amp;nbsp; notepad&lt;/P&gt;
&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="HOX_10-1649270402840.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/76517i5F880C4E966697B6/image-size/large?v=v2&amp;amp;px=999" role="button" title="HOX_10-1649270402840.png" alt="HOX_10-1649270402840.png" /&gt;&lt;/span&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;Applying character substitution&lt;BR /&gt;&lt;BR /&gt;
&lt;P&gt;Add Source Character 96&amp;amp;92&lt;BR /&gt;Add Substitute Character 2d&amp;amp;27&lt;/P&gt;
&lt;H3&gt;&amp;nbsp;&lt;/H3&gt;
&lt;/LI&gt;
&lt;/OL&gt;
&lt;/LI&gt;
&lt;/OL&gt;
&lt;H4&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;How to identify the correct Source Character and Substitute Character values?&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H4&gt;
&lt;OL&gt;
&lt;LI&gt;&lt;STRONG&gt;&amp;nbsp;For the Source Character:&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="HOX_14-1649270708907.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/76520i48BFD8BFFE66F208/image-size/medium?v=v2&amp;amp;px=400" role="button" title="HOX_14-1649270708907.png" alt="HOX_14-1649270708907.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="HOX_15-1649270729000.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/76521i9A99D1CBFBFD1A51/image-size/medium?v=v2&amp;amp;px=400" role="button" title="HOX_15-1649270729000.png" alt="HOX_15-1649270729000.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG style="font-family: inherit;"&gt;Notes:&lt;BR /&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;
&lt;UL class="lia-list-style-type-circle"&gt;
&lt;LI&gt;&lt;SPAN&gt;As we know in the binary system, a letter, number, space or sign is equivalent to two hexadecimal characters.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;The counting starts after the letter “x”&lt;BR /&gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG style="font-family: inherit;"&gt;For Substitute Character&lt;BR /&gt;&lt;BR /&gt;&lt;/STRONG&gt;Identify the respective hexadecimal value for the special character.&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="HOX_16-1649270809038.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/76522i1EB77A5A134A7FE2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="HOX_16-1649270809038.png" alt="HOX_16-1649270809038.png" /&gt;&lt;/span&gt;&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Sep 2023 07:27:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Official-Support-Articles/Qlik-Replicate-Replicating-special-characters-from-Sysbase-ASE/ta-p/1915507</guid>
      <dc:creator>HOX</dc:creator>
      <dc:date>2023-09-14T07:27:46Z</dc:date>
    </item>
  </channel>
</rss>

