lightbend / genjavadoc

A compiler plugin for generating doc’able Java source from Scala source
Other
58 stars 32 forks source link

Annotation coding is problematic (UTF-8?) #183

Open GeTOUO opened 5 years ago

GeTOUO commented 5 years ago

There are Chinese annotations in my code, but the generated Java annotations show exceptions and the final data can not be converted into Chinese. * @param dictCode 标识码 * param: dictCode 标识码

GeTOUO commented 5 years ago

Will this problem be fixed?

raboof commented 5 years ago

I think it'd be great if this problem got fixed, but it's not affecting my project so it's not high on my personal priorities. Could you help? I'd be glad to offer assistance, of course. Great first steps would be a reproducer project or (even better) a PR adding a (failing) test case to the project (in plugin/src/test/resources/input and plugin/src/test/resources/expected_output).

GeTOUO commented 5 years ago

Well, I watched it all day yesterday and didn't find a way to repair it. I'll study it again.

raboof commented 5 years ago

Thanks for looking into it! As said, just sharing a test/reproducer would already be very helpful, I might be able to justify a look then :)