Posted August 18, 201510 yr Hi! I wanted to make a lang file for my mod, it was pretty easy but actually I got a problem. As I'm actually from Portugal, I wanted to make translations for portuguese and portuguese from brazil, for both... I already made a version for english but portuguese as accented letters... just like this ones here: á,à,ã,â but when I put accented letters, this ones get switched by a "?" inside of a square(a rectangle to be honest ) So I want to know how to fix this!
August 18, 201510 yr You need to encode the files in UTF-8 instead of ASCII/ANSI. How you do this depends on your IDE, there are probably instructions for this if you search. Please don't PM me to ask for help. Asking your question in a public thread preserves it for people who are having the same problem in the future.
August 18, 201510 yr I'm using Eclipse And...did you Google for UTF-8 in Eclipse? There are tons of hits, especially this one: https://stijndewitt.wordpress.com/2010/05/05/unicode-utf-8-in-eclipse-java/ Check out my tutorials here: http://jabelarminecraft.blogspot.com/
August 18, 201510 yr Author It said me to go to <main menu> -> Window -> Preferences - > General -> Content Types and make shure that all the contents have the "encoding" set to UTF-8 or not set. But there are some that are set to ISO-8859-1. Can I change it to UTF-8 or should I not touch that? Also, I don't have the "Web" content that appears on the link. I have done everything except changing the ones that as ISO encoding to UTF-8 cause I'm not shure if I can do that, or if it is going to make troubles. and i didn't set the "Web" content cause, as I said it doesn't appear on my eclipse. But this way it is just like before, it didn't maked any change
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.