You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 5, 2019. It is now read-only.
It looks xjc generates localized strings of AM or PM into "Generated on:" field.
It generates in platform language.
In the following case, "PM" is localized to "�後" when it runs in Japanese locale.
< // Generated on: 2010.07.29 at 12:17:09 PM JST
—
// Generated on: 2010.07.29 at 12:16:27 �後 JST
It will cause compilation error when we use different encoding e.g. NetBeans
project is using UTF-8 but it runs on Windows (Shift-JIS).
Actually it happens on NetBeans 6.9.
Please do not use localized strings in generated files so that the sources
can be compiled in any encoding. I'm seeing many related issues that
xjc accepts encoding option. It's one of the option but AM/PM field
is not necessary to localize so let's revert back to English quickly.