<?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 Re: Special character data preservation in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/special-character-data-preservation/m-p/76798#M35325</link>
    <description>&lt;P&gt;Try to read the file back into databricks using spark.read, do you the see the charchaters showing? if yes, then it is an editor problem, use another editor such as Notepad++, if not, then the data is not on the write encoder, try different encoder other than UTF-8, maybe UTF-16&lt;/P&gt;</description>
    <pubDate>Thu, 04 Jul 2024 17:39:56 GMT</pubDate>
    <dc:creator>amr</dc:creator>
    <dc:date>2024-07-04T17:39:56Z</dc:date>
    <item>
      <title>Special character data preservation</title>
      <link>https://community.databricks.com/t5/data-engineering/special-character-data-preservation/m-p/76782#M35320</link>
      <description>&lt;OL&gt;&lt;LI&gt;&lt;SPAN&gt;This data frame has two columns name and info. Name has value as John and info has vale as&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;1® VOC.&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;SPAN&gt;After writing this data, I can read correct values in databricks but when I download the csv file and load it in notepad ( utf-8 ) , it is showing no values.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;even if I click on edit in container, it is showing empty values.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;What can be the reason? And what is the solution ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;df. write. format (‘csv').option ('header', True).option( 'encoding', 'UTF-8').option(' sep', '|^|’) .mode ('overwrite'). save('/mnt/Filestore/data/job1/test.dta')&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jul 2024 16:10:52 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/special-character-data-preservation/m-p/76782#M35320</guid>
      <dc:creator>Priya_Data_Eng</dc:creator>
      <dc:date>2024-07-04T16:10:52Z</dc:date>
    </item>
    <item>
      <title>Re: Special character data preservation</title>
      <link>https://community.databricks.com/t5/data-engineering/special-character-data-preservation/m-p/76798#M35325</link>
      <description>&lt;P&gt;Try to read the file back into databricks using spark.read, do you the see the charchaters showing? if yes, then it is an editor problem, use another editor such as Notepad++, if not, then the data is not on the write encoder, try different encoder other than UTF-8, maybe UTF-16&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jul 2024 17:39:56 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/special-character-data-preservation/m-p/76798#M35325</guid>
      <dc:creator>amr</dc:creator>
      <dc:date>2024-07-04T17:39:56Z</dc:date>
    </item>
  </channel>
</rss>

