cancel
Showing results for 
Search instead for 
Did you mean: 
Data Engineering
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")

Welcome to Databricks Community: Lets learn, network and celebrate together

Join our fast-growing data practitioner and expert community of 80K+ members, ready to discover, help and collaborate together while making meaningful connections. 

Click here to register and join today! 

Engage in exciting technical discussions, join a group with your peers and meet our Featured Members.