I have UTF-8 file and I want to print its content, so I tried:
println new File("C://Problem_1.txt").getText("UTF-8")
But the result is:
я┐╜я┐╜я┐╜я┐╜я┐╜я┐╜я┐╜я┐╜я┐╜я┐╜я┐╜я┐╜ я┐╜я┐╜я┐╜я┐╜я┐╜я┐╜я┐╜
How to solve this problem?
I have UTF-8 file and I want to print its content, so I tried:
println new File("C://Problem_1.txt").getText("UTF-8")
But the result is:
я┐╜я┐╜я┐╜я┐╜я┐╜я┐╜я┐╜я┐╜я┐╜я┐╜я┐╜я┐╜ я┐╜я┐╜я┐╜я┐╜я┐╜я┐╜я┐╜
How to solve this problem?