Jump to content

[1.8] § symbol replacement


LEGOlord208

Recommended Posts

Sorry for having a little short post, but I accenently removed all I had typed, so now I am shorting this down:

Hello Again.

Today I have problem with the § symbol in gradle. It was replaced with a wied ?!?!? on export. This have happend earlier, so I did as then: Adding a line to build.gradle . Now § is only replaced with ?. Now I need the right symbol to replace the § symbol with so it fixed. Now the question is: What is that symbol? My first time I had this error I replaced the symbols (Å Ä and Ö) with characers from the sv_SE.lang .

Thanks

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

I am a noob in forge

Link to comment
Share on other sites

First of all make sure your IDE stores your files as UTF-8. That's the best encoding you can use for text-files.

Then you need to tell gradle that your files are in UTF-8: http://mrhaki.blogspot.de/2012/06/gradle-goodness-set-java-compiler.html

 

The line I added to huild.gradle made it UTF-8. I think eclipse is UTF-8 too. Because it only messes up when exporting.

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

I am a noob in forge

Link to comment
Share on other sites

So... it didn't work after telling gradle your files are in utf-8?

Then your files are not actually in utf-8. Note that utf-8 is not the default encoding in eclipse.

 

That explains everything. If eclipse is not in UTF-8.

 

The line I added to build.gradle was exactly from the same link as you sent me.

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

I am a noob in forge

Link to comment
Share on other sites

Yes, if you tell gradle that your files are utf-8, you need to make sure they actually are utf-8.

 

But if you read above, I said it actually changed ?!?!??!¿ to just ?.

 

Gradle is for sure doing it's job

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

I am a noob in forge

Link to comment
Share on other sites

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.