utf -8 encoding online code example
Example 1: python open encoding utf-8
from io import open
f = open("test", mode="r", encoding="utf-8")
Example 2: javac encoding utf-8
javac -encoding utf8 Test.java
from io import open
f = open("test", mode="r", encoding="utf-8")
javac -encoding utf8 Test.java