Generate javadoc for classes that have non-ascii charaters in their names

喜你入骨 提交于 2019-12-24 01:54:46

问题


Some of the classes in our code base have Unicode (Danish) characters in their names. It works fine for compilation and deployment, but it failed when generating Javadoc complaining about wrong characters in the java sources. We are using Gradle to build our code base and the following options actually solved the problem with wrong characters:

  javadoc {
    options.encoding = "UTF-8"
  }

But that still fails on finding classes that have non-ASCII characters in their names:

javadoc: error - File not found: "E:\Work\source\common\my-integration\src\main\java\my\company\vehicle\common\K├©ret├©jListeHentValidationHelper.java"

Is there any workaround for that?

来源:https://stackoverflow.com/questions/8324666/generate-javadoc-for-classes-that-have-non-ascii-charaters-in-their-names

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!