Ad
  • Custom User Avatar

    Seems like 1000+ warriors (in java) didn't have an issue with this.

  • Custom User Avatar

    Oh I found out I was trying to concat a char with a string; however, there is still issues with this challenge even when you put the unicode into a string. Running my code on coderpad or repl works just fine.

  • Default User Avatar

    You got an error from putting the pound sign under a string format?

  • Default User Avatar

    Seems like, this kata has issues only in Java language. Let's wait till someone reslove the issue.

  • Custom User Avatar

    Anyone else having issues with the pound sign in Java. Keep getting "error: unmappable character for encoding ASCII".

    Error: Command failed: javac -verbose -cp /home/codewarrior -d /home/codewarrior -sourcepath /home/codewarrior -cp /usr/local/groovy/lib/junit-4.12.jar:/usr/local/groovy/lib/hamcrest-core-1.3.jar /home/codewarrior/Kata.java /home/codewarrior/BonusTimeTest.java ./frameworks/java/CwRunListener.java
    [parsing started RegularFileObject[/home/codewarrior/Kata.java]]
    [parsing completed 28ms]
    /home/codewarrior/BonusTimeTest.java:10: error: unmappable character for encoding ASCII
    assertEquals((wellConfigured?"??":"\u00A3")+"100000",Kata.bonusTime(10000, true));
    ^
    /home/codewarrior/BonusTimeTest.java:10: error: unmappable character for encoding ASCII
    assertEquals((wellConfigured?"??":"\u00A3")+"100000",Kata.bonusTime(10000, true));

    ...