Java compiler platform file encoding problem

前端 未结 4 875
花落未央
花落未央 2020-12-03 12:13

Recently I encountered a file character encoding issue that I cannot remember ever having faced. It\'s quite common to have to be aware of character encoding of text files

4条回答
  •  一向
    一向 (楼主)
    2020-12-03 13:10

    Always use escape codes (e.g \uxxxx) in your source files and this will not be a problem. @Paulo mentioned this, but i wanted to call it out explicitly.

提交回复
热议问题