[Solved] Ant Build Unmappable character
Posted: Sun Apr 26, 2009 11:04 pm
L2J Revision 2939
L2JDP Revision 5986
OS Windows Vista x64 SP1
Eclipse 3.3.2 M20080221-1800
I've rewriten some parts and add new features to my working copy and all strings are translated into my native language (Czech). Eclipse and project are configured to use UTF-8. PSPad show me UTF-8 when I open files and nothing is corrupted (It means characters, encoding etc) but when I try to build GameServer it fails with errors:
In console output the strings are corrupted but in Run dialog I've set the Console encoding to UTF-8. What's wrong with it? What about the "Cp1250" which is my OS's default I think. Thanks for any advice and sorry for my English.
L2JDP Revision 5986
OS Windows Vista x64 SP1
Eclipse 3.3.2 M20080221-1800
I've rewriten some parts and add new features to my working copy and all strings are translated into my native language (Czech). Eclipse and project are configured to use UTF-8. PSPad show me UTF-8 when I open files and nothing is corrupted (It means characters, encoding etc) but when I try to build GameServer it fails with errors:
Code: Select all
[javac] Compiling 1260 source files to D:\Programy\Eclipse Workspace\L2_GameServer\build\classes [javac] D:\Programy\Eclipse Workspace\L2_GameServer\java\net\sf\l2j\gameserver\communitybbs\Manager\AdminBBSManager.java:225: unmappable character for encoding Cp1250 [javac] htmlCode.append("<td FIXWIDTH=670>DiskusnĂ fĂłrum, kterĂ© chcete smazat vyberte ze seznamu nĂĹľe. ZároveĹ? vyberte, jestli chcete všechny subfĂłra a tĂ©mata odstranit, nebo pĹ™esunout.</td>"); [javac] ^ [javac] D:\Programy\Eclipse Workspace\L2_GameServer\java\net\sf\l2j\gameserver\communitybbs\Manager\TopBBSManager.java:520: unmappable character for encoding Cp1250 [javac] htmlCode.append(" â?™ <a action=\"bypass _bbstop;post;delete;" + forum.getId() + ";" + topic.getId() + ";" + post.getId() + "\">Odstranit</a>"); [javac] ^ [javac] D:\Programy\Eclipse Workspace\L2_GameServer\java\net\sf\l2j\gameserver\communitybbs\Manager\TopBBSManager.java:524: unmappable character for encoding Cp1250 [javac] htmlCode.append(" â?™ <a action=\"bypass _bbstop;topic;edit;name;" + forum.getId() + ";" + topic.getId() + ";" + post.getId() + "\">ZmÄ›nit jmĂ©no</a>"); [javac] ^ [javac] D:\Programy\Eclipse Workspace\L2_GameServer\java\net\sf\l2j\gameserver\communitybbs\Manager\TopBBSManager.java:525: unmappable character for encoding Cp1250 [javac] htmlCode.append(" â?™ <a action=\"bypass _bbstop;topic;edit;description;" + forum.getId() + ";" + topic.getId() + ";" + post.getId() + "\">ZmÄ›nit popis</a>"); [javac] ^ [javac] D:\Programy\Eclipse Workspace\L2_GameServer\java\net\sf\l2j\gameserver\communitybbs\Manager\TopicBBSManager.java:178: unmappable character for encoding Cp1250 [javac] htmlCode.append(" â?™ <a action=\"bypass _bbsmemo;delete;" + topic.getId() + "\">Odstranit</a>"); [javac] ^ [javac] D:\Programy\Eclipse Workspace\L2_GameServer\java\net\sf\l2j\gameserver\communitybbs\Manager\TopicBBSManager.java:179: unmappable character for encoding Cp1250 [javac] htmlCode.append(" â?™ <a action=\"bypass _bbsmemo;edit;name;" + topic.getId() + ";" + post.getId() + "\">ZmÄ›nit jmĂ©no</a>"); [javac] ^ [javac] D:\Programy\Eclipse Workspace\L2_GameServer\java\net\sf\l2j\gameserver\communitybbs\Manager\TopicBBSManager.java:180: unmappable character for encoding Cp1250 [javac] htmlCode.append(" â?™ <a action=\"bypass _bbsmemo;edit;description;" + topic.getId() + ";" + post.getId() + "\">ZmÄ›nit popis</a>"); [javac] ^ [javac] 7 errors