How to read UTF 8 encoded file in java with turkish characters

后端 未结 3 1462

I am trying to read a UTF-8 encoded txt file, which has some turkish characters. Basically I am have written an axis based web service, which reads this file and send the ou

3条回答
  •  心在旅途
    2020-12-07 04:41

    Make sure the console you use to display the output is also encoded in UTF-8. In Eclipse for example, you need to go to Run Configuration > Common to do this.

    enter image description here

提交回复
热议问题