I´m dealing with an encoding problem, almost resolved with the decode/encode of a needed field in a dataframe, as the following example:
df.withColumn("column1", decode(encode("column1", "windows-1252"), "UTF8"))
Getting the values from this
to
, as example.
However in some special cases as, "Á" or "Í", I can't get the expected result:
Anyone dealing with the same problems and getting good results with other solution?
Thanks in advance!

