Navigation


Bug in StandardUtils

sapao

Member since: 2011-10-12 17:33

Added: 2011-10-12 17:52

While building EagleDNS, I found a typo in StandardUtils which prevented the build. The Eclipse-generated patch is below:

 

Index: src/se/unlogic/standardutils/i18n/Language.java
===================================================================
--- src/se/unlogic/standardutils/i18n/Language.java (revision 591)
+++ src/se/unlogic/standardutils/i18n/Language.java (working copy)
@@ -186,7 +186,7 @@
  Uzbek("uz"),
  Venda("ve"),
  Vietnamese("vi"),
- Volap¸k("vo"),
+ Volapuk("vo"),
  Walloon("wa"),
  Welsh("cy"),
  Wolof("wo"),
 
 
-----------------------
Regards,
 
Lucas
Unlogic

Member since: 2008-01-27 20:43

Added: 2011-10-17 09:16

I've looked into this issue and it seems to be caused by the fact that I've mistakenly set the StandardUtils project to inherit the default workspace encoding instead of defining it's own encoding. This causes encoding issues for everyone that has a different default workspace encoding compared to what I'm using.

Project setup

I should update the project and set it's encoding to UTF-8 but I have to do some more testing before i commit that. A workaround until then is to change the encoding of your working copy of StandardUtils to Cp1252.

PS. Thanks for reporting this bug!

sapao

Member since: 2011-10-12 17:33

Added: 2011-10-18 01:57

I don't have Cp1252 available, but changing the encoding to ISO-8859-1 solved the problem.


Thanks,

Lucas

sapao

Member since: 2011-10-12 17:33

Added: 2011-10-18 14:01

On a side note: do you have a jar for StandardUtils? I really just need the jar to compile and run EagleDNS. I suppose the jar won't have encoding issues between systems.

Thanks,

Lucas

Unlogic

Member since: 2008-01-27 20:43

Added: 2011-10-18 14:09

No problem I'll email the JAR in a few minutes.