Create EncodeTest.java

for UTF-8 PCR.