title: Unsupported UCS-4 endianness (3412) detected - Scala/Spark
body: <p>I was running a code on  spark/scala and I've got an error, which I don't know what means... </p>
  
  <p><strong>Error : Caused by: java.io.CharConversionException: Unsupported UCS-4 endianness (3412) detected</strong></p>
  
  <p>I imported some files and I was using the variable i stored it as parameter in a function, some files work, but there are some that don't.</p>