Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can I set "UTF-8 encoding" with this bundle? #1

Open
sassembla opened this issue Jul 1, 2012 · 1 comment
Open

Can I set "UTF-8 encoding" with this bundle? #1

sassembla opened this issue Jul 1, 2012 · 1 comment

Comments

@sassembla
Copy link

Now I'm using Mac. That's java-locale is Japanese. Not English.

When run gradle-bundle like below,
(gradle) jar

If there is some error, the output will appear
?g?p?�?ȃI?v?V?????ɂ͎??̂??̂?????܂??B

I know this is because of my Java's default encoding.
The default encoding is "SJIS".(nooo)

For example, to solve same problem with bash,
.bash_profile or .bashrc with "export _JAVA_OPTIONS=-Dfile.encoding=UTF-8" will work.

But through the gradle-bundle, that's not work fine.

How can I change such encoding through gradle-bundle?
Is there some way to adjust gradle-bundle's java/javac-encoding?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants
@sassembla and others