<?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>question Re: Special characters are displayed as question mark (?). in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Special-characters-are-displayed-as-question-mark/m-p/375983#M242723</link>
    <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/99392"&gt;@Shivakuk&lt;/a&gt;,&amp;nbsp;Have any of the replies helped resolve your issue? If so, please mark the appropriate reply as the solution, as it will make it easier for others to find the answer in the future.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 05 Sep 2023 05:06:56 GMT</pubDate>
    <dc:creator>VidyaSargur</dc:creator>
    <dc:date>2023-09-05T05:06:56Z</dc:date>
    <item>
      <title>Special characters are displayed as question mark (?).</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Special-characters-are-displayed-as-question-mark/m-p/375657#M242573</link>
      <description>&lt;P&gt;&lt;SPAN&gt;We have a delimited flatfile which has special characters ingested into HDFS. We have created a Hive External table on top of the HDFS path and visualized the data in Hue &amp;amp; Beeline. But the special characters are displayed as question mark (?). Please advise the solution.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Aug 2023 08:50:24 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Special-characters-are-displayed-as-question-mark/m-p/375657#M242573</guid>
      <dc:creator>Shivakuk</dc:creator>
      <dc:date>2023-08-28T08:50:24Z</dc:date>
    </item>
    <item>
      <title>Re: Special characters are displayed as question mark (?).</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Special-characters-are-displayed-as-question-mark/m-p/375672#M242583</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/99392"&gt;@Shivakuk&lt;/a&gt;&amp;nbsp;Did you use Ranger masking for that column?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Provide the below output&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;show create table &amp;lt;tablename&amp;gt;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Aug 2023 12:23:29 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Special-characters-are-displayed-as-question-mark/m-p/375672#M242583</guid>
      <dc:creator>asish</dc:creator>
      <dc:date>2023-08-28T12:23:29Z</dc:date>
    </item>
    <item>
      <title>Re: Special characters are displayed as question mark (?).</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Special-characters-are-displayed-as-question-mark/m-p/375824#M242675</link>
      <description>&lt;P&gt;we tried replicating the issue with the data shared by &lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/99392"&gt;@Shivakuk&lt;/a&gt;&amp;nbsp;.&amp;nbsp;&lt;FONT face="andale mono,times"&gt;Left/Right Single/Double Quotation Mark(smart quotes)&lt;/FONT&gt;&amp;nbsp;in the text did not show up correctly and got converted to ? . I was able to fix this issue by changing the&amp;nbsp;&lt;SPAN&gt;LC_CTYPE from "UTF-8" to "en_US.UTF-8".&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Check "&lt;FONT face="andale mono,times"&gt;locale&lt;/FONT&gt;" command output:&lt;/SPAN&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;# locale
LANG=en_US.UTF-8
LC_CTYPE=en_US.UTF-8
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=

See what your LC_CTYPE read.
If it does not read "en_US.UTF-8", do the following:

vi ~/.bash_profile

Add the following two lines at the bottom:
+++
LC_CTYPE=en_US.UTF-8
export LC_CTYPE
+++

Save the file, and source it for it to take effect:

#source ~/.bash_profile

Now connect to beeline, and see if the data show up correctly.&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 31 Aug 2023 10:16:37 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Special-characters-are-displayed-as-question-mark/m-p/375824#M242675</guid>
      <dc:creator>smruti</dc:creator>
      <dc:date>2023-08-31T10:16:37Z</dc:date>
    </item>
    <item>
      <title>Re: Special characters are displayed as question mark (?).</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Special-characters-are-displayed-as-question-mark/m-p/375983#M242723</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/99392"&gt;@Shivakuk&lt;/a&gt;,&amp;nbsp;Have any of the replies helped resolve your issue? If so, please mark the appropriate reply as the solution, as it will make it easier for others to find the answer in the future.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Sep 2023 05:06:56 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Special-characters-are-displayed-as-question-mark/m-p/375983#M242723</guid>
      <dc:creator>VidyaSargur</dc:creator>
      <dc:date>2023-09-05T05:06:56Z</dc:date>
    </item>
  </channel>
</rss>

