I was using Scala and try to store some String Integer as straight Integer. However some String Integer has a format of this ÿþ
in front of the number.
How do I clean this up? Why does this happen?
Rephrased question:
How do I check all characters like ÿþ
and delete them so I can safely convert Strings to Integer? I don't know if this appears only on the first line or not. The file has 16,000 lines and although I only see it at the first line so far, I can't be sure.