Portuguese problem in ADT

1

I'm working on an Android App , and a friend of mine sent me the app that he worked but had a problem, all the characters of our language as the " ç "have become things like c '@%, evidencing problem in coding / translation. I wanted to know if this could relate to the language of my Eclipse when I installed it or what.

I tried to recompile, but the database we were using (internal) is not being modified, it's being said that I'm setting two Primary Keys , but I'm not doing it, does anyone know what's happening?

    
asked by anonymous 23.03.2014 / 16:13

1 answer

1

No more information can not tell what is happening, but I can say two things:

  • The language of Eclipse has nothing to do with - but the encoding of source files - may have. The Java compiler ( javac ) accepts a -encoding parameter, and according to this question in SOen , Eclipse has a option for you to tell this to the compiler (I have not used Eclipse for a long time, so I can not tell where).

    Check out (using another text editor, for example) if the encoding of your files is different from the encoding of the computer where the program is being compiled. If so, specify this parameter in Eclipse by passing the correct encoding.

  • This database has nothing to do with the problem you are experiencing. If you have a second unrelated difficulty, I suggest opening a new question by adding the relevant details.

  • That said, it's likely that your problem is not with compoding-time encoding (but check item 1 just to be sure), but when it comes to displaying the strings on the screen or something. Please isolate the section that has the incorrect result in your application, and edit your question by showing it, so we can help you further. For example, check which field is displaying this problem, and look for the code snippet that populates this field and / or prints it on the screen.

        
    23.03.2014 / 18:45