cancel
Showing results for 
Search instead for 
Did you mean: 
Data Engineering
Join discussions on data engineering best practices, architectures, and optimization strategies within the Databricks Community. Exchange insights and solutions with fellow data engineers.
cancel
Showing results for 
Search instead for 
Did you mean: 

How to keep the original Swedish/Finnish character in the file?

irfanaziz
Contributor II

The files are in ANSI format as it shows in the notepad, I could manuelly convert the files to utf8 and read it. But the files are really large. I dont want to download and upload the files.

Is there way so i could keep the swedish/finnish characters ?

I tried reading the file with iso-5589-1 encoding but to no avail.

What would be the easy way to convert the files to utf8 encoding in the notebook or something easy.

1 ACCEPTED SOLUTION

Accepted Solutions

irfanaziz
Contributor II

So the answer was using the option("charset", "iso-8859-1")

View solution in original post

1 REPLY 1

irfanaziz
Contributor II

So the answer was using the option("charset", "iso-8859-1")

Connect with Databricks Users in Your Area

Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you won’t want to miss the chance to attend and share knowledge.

If there isn’t a group near you, start one and help create a community that brings people together.

Request a New Group