<?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>topic Remove Chinese quotes from a character string in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Remove-Chinese-quotes-from-a-character-string/m-p/62603#M17800</link>
    <description>Trying to remove single and double quotes from a character variable using Compress (and/or KCompress).  In translated data from Asia, however, it appears the single and double quotes are a Unicode character, not a standard WLatin apostrophe (even though it "looks" like an apostrophe).  How can I identify and strip these Chinese chars out?</description>
    <pubDate>Fri, 14 Jan 2011 16:34:45 GMT</pubDate>
    <dc:creator>deleted_user</dc:creator>
    <dc:date>2011-01-14T16:34:45Z</dc:date>
    <item>
      <title>Remove Chinese quotes from a character string</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Remove-Chinese-quotes-from-a-character-string/m-p/62603#M17800</link>
      <description>Trying to remove single and double quotes from a character variable using Compress (and/or KCompress).  In translated data from Asia, however, it appears the single and double quotes are a Unicode character, not a standard WLatin apostrophe (even though it "looks" like an apostrophe).  How can I identify and strip these Chinese chars out?</description>
      <pubDate>Fri, 14 Jan 2011 16:34:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Remove-Chinese-quotes-from-a-character-string/m-p/62603#M17800</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2011-01-14T16:34:45Z</dc:date>
    </item>
    <item>
      <title>Re: Remove Chinese quotes from a character string</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Remove-Chinese-quotes-from-a-character-string/m-p/62604#M17801</link>
      <description>I probably should clarify that we are on SAS 9.2 and support the native Unicode data just fine.  However, need to "save down" to 9.0 WLatin version (for the sake of the client system), and in that transcoding, these apostrophe's cause trouble.</description>
      <pubDate>Fri, 14 Jan 2011 16:42:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Remove-Chinese-quotes-from-a-character-string/m-p/62604#M17801</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2011-01-14T16:42:04Z</dc:date>
    </item>
    <item>
      <title>Re: Remove Chinese quotes from a character string</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Remove-Chinese-quotes-from-a-character-string/m-p/62605#M17802</link>
      <description>Hi.&lt;BR /&gt;
What do these character variable look like ?&lt;BR /&gt;
Are you using SAS 9.2  with Chinese Version?&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Ksharp</description>
      <pubDate>Mon, 17 Jan 2011 01:16:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Remove-Chinese-quotes-from-a-character-string/m-p/62605#M17802</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2011-01-17T01:16:54Z</dc:date>
    </item>
    <item>
      <title>Re: Remove Chinese quotes from a character string</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Remove-Chinese-quotes-from-a-character-string/m-p/62606#M17803</link>
      <description>Hi&lt;BR /&gt;
You could use $HEX. to get the hex value of the character you want to remove - and then use compress() on this hex value.&lt;BR /&gt;
&lt;BR /&gt;
i.e:&lt;BR /&gt;
data _null_;&lt;BR /&gt;
var= '"';&lt;BR /&gt;
put var $hex.;&lt;BR /&gt;
var=compress(var,'22'x);&lt;BR /&gt;
put var=;&lt;BR /&gt;
run;&lt;BR /&gt;
&lt;BR /&gt;
HTH&lt;BR /&gt;
Patrick</description>
      <pubDate>Mon, 17 Jan 2011 04:23:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Remove-Chinese-quotes-from-a-character-string/m-p/62606#M17803</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2011-01-17T04:23:13Z</dc:date>
    </item>
    <item>
      <title>Re: Remove Chinese quotes from a character string</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Remove-Chinese-quotes-from-a-character-string/m-p/62607#M17804</link>
      <description>Suggest SAS NLS function documentation review / reference, possibly KUPDATE or KTRANSLATE.&lt;BR /&gt;
&lt;BR /&gt;
Scott Barry&lt;BR /&gt;
SBBWorks, Inc.&lt;BR /&gt;
&lt;BR /&gt;
Suggested Google advanced search argument, this topic / post:&lt;BR /&gt;
replace characters nls function site:sas.com</description>
      <pubDate>Mon, 17 Jan 2011 14:58:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Remove-Chinese-quotes-from-a-character-string/m-p/62607#M17804</guid>
      <dc:creator>sbb</dc:creator>
      <dc:date>2011-01-17T14:58:02Z</dc:date>
    </item>
  </channel>
</rss>

