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
� / � Appearing below item aspects when pressing shift #508
Comments
its there for me too |
I get this as well, I thought it was normal though because at this point I'm used to magic mods displaying gibberish for "unknown" things and figured with more research the text would reveal itself. |
I also have it. |
i also |
Also getting it. I thought it was intentional, like something I wasn't able to read without a certain research. |
I thought it was some research-y thing too but I’d seen the symbols elsewhere just as the person in the reddit thread explains in detail. Just some specifications; it seems to happen with Thaumcraft itself without any other mods. I’m going to do a clean install of forge when I’m home to see if there are any hidden settings messing with it and edit this comment later. |
Oh so that IS a bug. How about that. |
I'll repost here what I said in that Reddit discussion: The combination |
And this is a very old bug, present even in TC4 :( |
hrmm i thought it was just something i had yet to discover that would make sense later on |
Same here. Interesting. |
I've actually been trying to track down this bug most of the day. It is indeed a codepage issue but I'm not sure what is causing it. |
I wonder, what text it is trying to print. Was thinking aspect names, but they appear to be hardcoded unfortunately. |
At the risk of suggesting something really freaking obvious, I've had codepage issues in the past while loading text files simply saved with the wrong UTF encoding (UTF with/without BOM for example), if you haven't tried that it might help? |
Now that I see that second screenshot, I think I've figured it out. The text that's getting mangled is the So the place to look in the Thaumcraft code will be in the place that handles Minecraft formatting codes like |
@Azanor This can be caused by unicode text in source files, instead of writing out the '§' character, use Minecraft's |
This also shows up in this mod spotlight by Direwolf20, where the ° (degree) symbol has been replaced by �. You can see it at 33:42 of that video, or in the partial screen capture below: |
I always run Minecraft with these settings, to avoid irresponsible mods' that do not set correct encoding on files they read. |
That will likely not solve this bug, as the problems come from data in the .class files themselves. The mod should be using Unicode escapes in the code. |
Sorry, my head ain't very clear. |
Seeing the ° symbol get corrupted in Direwolf20's video led me to do a bit of hunting. Looking through the en_us.lang file led me to find the String[] anglesDesc = new String[]{"10\u00ef\u00bf\u00bd", "30\u00ef\u00bf\u00bd", ... } @Azanor, it looks to me like some step in your compilation process is causing this. I'd bet your original .java files had that string array defined as (I obtained the beta 13 .jar file directly from https://minecraft.curseforge.com/projects/thaumcraft, BTW, so I know that it's not been modified by someone else. And @Azanor, thank you for allowing the use of decompilers in your license posted on CurseForge, since that allowed me to do this research legally. I hope my findings will be helpful to you in tracking down the problem.) |
Ow? So, what was the origin of the issue? |
Oops, this was not supposed to be closed. I've been having odd issues all day with git. |
Sorry I'm not exactly sure the criteria for posting bugs here but I was told to direct this post to bug reports. Its strange because everyone else here doesnt seem to be seeing this bug, but anyways...
https://www.reddit.com/r/feedthebeast/comments/8eyx4f/thaumcraft_item_inspect_shift_adding_weird/
If I need to post any explicit information here let me know. Thanks.
The text was updated successfully, but these errors were encountered: