0

i downloaded akka source from github. i find that many files have these junk characters in them.

=> converts to ⇒

<- converts to �

trait OnlyCauseStackTrace { self: Throwable ⇒
  override def fillInStackTrace(): Throwable = {
    setStackTrace(getCause match {
      case null ⇒ Array.empty
      case some ⇒ some.getStackTrace
    })
    this
  }
}

This is present in every version. akka-master, akka-releasing-2.2-M2 , akka-release-2.1

these give error when i import the code into eclipse after generating an eclipse project from sbt

How i download: i download the zip file from github website. i cannot use eclipse to import from github as i am behind a firewall.

weima
  • 4,653
  • 6
  • 34
  • 55

1 Answers1

0

No, you're probably just not editing them using UTF-8 (as they are in): https://github.com/akka/akka/blob/master/project/AkkaBuild.scala#L575

Viktor Klang
  • 26,479
  • 7
  • 51
  • 68
  • you mean akka code is written in UTF-8 and not in plain text? i am using eclipse. how do i workaround this problem? i see junk characters in eclipse and i cannot compile it. – weima Apr 05 '13 at 10:20
  • can someone please help me compile akka source code in eclipse? what are the steps. I will be eternally grateful for your kindness. – weima Apr 05 '13 at 10:21
  • No, it's plain text alright. But the character encoding is UTF-8. http://stackoverflow.com/questions/9180981/how-to-support-utf-8-in-eclipse – Viktor Klang Apr 05 '13 at 10:27