Jump to content

Recommended Posts

Posted

Hello! I am making a private mod in Swedish, and the letters Å Ä Ö doesn't work. I think the

gradlew build

is messing it up, because this error only comes when I have exported the mod. It's instead replacing ÅÄÖ with some crazy symbols. I wonder if you code use

gradlew build --Charset UTF-8

or something similar.

And if I ever helped anyone with anything, let me know

I am a noob in forge

Posted

Don't ask for support per PM! They'll get ignored! | If a post helped you, click the "Thank You" button at the top right corner of said post! |

mah twitter

This thread makes me sad because people just post copy-paste-ready code when it's obvious that the OP has little to no programming experience. This is not how learning works.

Posted

 

Did you mean "gradlew"?

With "gradlew build utf-8" it didn't work :'(

 

Sorry, I was unclear. It's not the command you're supposed to enter, it's the search term where I found the link.

Don't ask for support per PM! They'll get ignored! | If a post helped you, click the "Thank You" button at the top right corner of said post! |

mah twitter

This thread makes me sad because people just post copy-paste-ready code when it's obvious that the OP has little to no programming experience. This is not how learning works.

Posted

 

Did you mean "gradlew"?

With "gradlew build utf-8" it didn't work :'(

 

Sorry, I was unclear. It's not the command you're supposed to enter, it's the search term where I found the link.

 

Oh! Sorry

And if I ever helped anyone with anything, let me know

I am a noob in forge

Posted

 

Did you mean "gradlew"?

With "gradlew build utf-8" it didn't work :'(

 

Sorry, I was unclear. It's not the command you're supposed to enter, it's the search term where I found the link.

 

gradle build utf-8

 

Lol :D

And if I ever helped anyone with anything, let me know

I am a noob in forge

Posted

Thanks soo much for the help, SanAndreasP! It works perfect now :D

It was fixed by adding this line

[compileJava, compileTestJava]*.compile*.encoding = 'UTF-8'

to build.gradle, and replacing every "ÅÄÖ" with some weird symbols in the .java files. The weird symbols can be found in sv_SE.lang with the other minecraft language files.

And if I ever helped anyone with anything, let me know

I am a noob in forge

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.