简体   繁体   中英

Fonts in eclipse fail from Mac to PC or viceversa

I had a problem using google fonts in a mac computer , but I realized that I have the same problem in Eclipse. We are a team that develops java code in both PCs and Mac using Bitbucket. Our problem is that all the strings with special characters fail o each other's computers. So for example, if I write "Español" in my Mac, de PC user sees "Espa?ol" and once fixed, when I pull his code, I also get "Espa?ol"

Any idea on why is this?

Thanks!!

Solved! One of the developers had its Eclipse not set to UTF-8 so the file transfer using Git wasn't working properly...to check, go to Preferences>General>Workspace>Text file encoding and set to UTF-8

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM